Enum PeMag.DevType
- java.lang.Object
-
- java.lang.Enum<PeMag.DevType>
-
- de.desy.mst.libs.framework.mstapp.tabellendaten.devices.PeMag.DevType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PeMag.DevType>
- Enclosing class:
- PeMag
public static enum PeMag.DevType extends java.lang.Enum<PeMag.DevType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeMag.DevType
byString(java.lang.String betrieb)
static PeMag.DevType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PeMag.DevType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PSC2
public static final PeMag.DevType PSC2
-
DIO
public static final PeMag.DevType DIO
-
Unknown
public static final PeMag.DevType Unknown
-
-
Method Detail
-
values
public static PeMag.DevType[] 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 (PeMag.DevType c : PeMag.DevType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PeMag.DevType 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
-
byString
public static PeMag.DevType byString(java.lang.String betrieb)
-
-