|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ObservingType> edu.nrao.sss.model.proposal.ObservingType
public enum ObservingType
Placeholder for time when we integrate proposal work. TODO Add comments TODO Write JUnit class
Enum Constant Summary | |
---|---|
CONTINUUM
|
|
GRID_MAPPING
|
|
HIGH_TIME_RESOLUTION
|
|
MONITORING
|
|
ON_THE_FLY
|
|
OTHER
|
|
PLANETARY_RADAR
|
|
POLARIMETRY
|
|
PULSAR
|
|
SINGLE_POINTING
|
|
SOLAR
|
|
SPECTROSCOPY
|
|
TRIGGERED_TRANSIENT
|
Method Summary | |
---|---|
static ObservingType |
fromString(String text)
Returns the observing type represented by text . |
static ObservingType |
getDefault()
Returns a default observing type. |
String |
toString()
Returns a text representation of this enumeration constant. |
static ObservingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObservingType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ObservingType CONTINUUM
public static final ObservingType PULSAR
public static final ObservingType POLARIMETRY
public static final ObservingType ON_THE_FLY
public static final ObservingType SPECTROSCOPY
public static final ObservingType PLANETARY_RADAR
public static final ObservingType SINGLE_POINTING
public static final ObservingType MONITORING
public static final ObservingType SOLAR
public static final ObservingType HIGH_TIME_RESOLUTION
public static final ObservingType GRID_MAPPING
public static final ObservingType TRIGGERED_TRANSIENT
public static final ObservingType OTHER
Method Detail |
---|
public static ObservingType[] values()
for (ObservingType c : ObservingType.values()) System.out.println(c);
public static ObservingType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ObservingType getDefault()
public String toString()
toString
in class Enum<ObservingType>
public static ObservingType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of an observing type.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |