Enum EBeamFor
- java.lang.Object
-
- java.lang.Enum<EBeamFor>
-
- de.desy.mst.libs.framework.mstapp.util.machinestates.EBeamFor
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DORIS
KEIN_BEDARF
KONTROLLRAUM
PETRA
TESTSTRAHL
UNBESTIMMT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
int
stateAsNumber()
java.lang.String
stateAsText()
java.lang.String
stateAsTextEngl()
static EBeamFor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EBeamFor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEIN_BEDARF
public static final EBeamFor KEIN_BEDARF
-
PETRA
public static final EBeamFor PETRA
-
DORIS
public static final EBeamFor DORIS
-
TESTSTRAHL
public static final EBeamFor TESTSTRAHL
-
KONTROLLRAUM
public static final EBeamFor KONTROLLRAUM
-
UNBESTIMMT
public static final EBeamFor UNBESTIMMT
-
-
Method Detail
-
values
public static EBeamFor[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EBeamFor c : EBeamFor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EBeamFor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
stateAsNumber
public int stateAsNumber()
-
stateAsText
public java.lang.String stateAsText()
-
stateAsTextEngl
public java.lang.String stateAsTextEngl()
-
main
public static void main(java.lang.String[] args)
-
-