Enum ModuleLevelST
- java.lang.Object
-
- java.lang.Enum<ModuleLevelST>
-
- fi.tut.mei.resdescapi.rdapi.model.rd.ModuleLevelST
-
- All Implemented Interfaces:
Serializable
,Comparable<ModuleLevelST>
public enum ModuleLevelST extends Enum<ModuleLevelST>
Java class for module_level_ST.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="module_level_ST"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="PRODUCTION_LINE"/> <enumeration value="CELL"/> <enumeration value="WORKSTATION"/> <enumeration value="UNIT"/> <enumeration value="DEVICE"/> <enumeration value="ELEMENT"/> <enumeration value="N/A"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CELL
DEVICE
ELEMENT
N_A
PRODUCTION_LINE
UNIT
WORKSTATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModuleLevelST
fromValue(String v)
String
value()
static ModuleLevelST
valueOf(String name)
Returns the enum constant of this type with the specified name.static ModuleLevelST[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRODUCTION_LINE
public static final ModuleLevelST PRODUCTION_LINE
-
CELL
public static final ModuleLevelST CELL
-
WORKSTATION
public static final ModuleLevelST WORKSTATION
-
UNIT
public static final ModuleLevelST UNIT
-
DEVICE
public static final ModuleLevelST DEVICE
-
ELEMENT
public static final ModuleLevelST ELEMENT
-
N_A
public static final ModuleLevelST N_A
-
-
Method Detail
-
values
public static ModuleLevelST[] 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 (ModuleLevelST c : ModuleLevelST.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleLevelST valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static ModuleLevelST fromValue(String v)
-
-