Package org.cip4.lib.xjdf.schema
Enum DeviceStatus
- java.lang.Object
-
- java.lang.Enum<DeviceStatus>
-
- org.cip4.lib.xjdf.schema.DeviceStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeviceStatus>
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public enum DeviceStatus extends java.lang.Enum<DeviceStatus>Java class for DeviceStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DeviceStatus"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Cleanup"/> <enumeration value="Idle"/> <enumeration value="NonProductive"/> <enumeration value="Offline"/> <enumeration value="Production"/> <enumeration value="Setup"/> <enumeration value="Stopped"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLEANUPIDLENON_PRODUCTIVEOFFLINEPRODUCTIONSETUPSTOPPED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceStatusfromValue(java.lang.String v)java.lang.Stringvalue()static DeviceStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeviceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEANUP
public static final DeviceStatus CLEANUP
-
IDLE
public static final DeviceStatus IDLE
-
NON_PRODUCTIVE
public static final DeviceStatus NON_PRODUCTIVE
-
OFFLINE
public static final DeviceStatus OFFLINE
-
PRODUCTION
public static final DeviceStatus PRODUCTION
-
SETUP
public static final DeviceStatus SETUP
-
STOPPED
public static final DeviceStatus STOPPED
-
-
Method Detail
-
values
public static DeviceStatus[] 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 (DeviceStatus c : DeviceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceStatus 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
-
value
public java.lang.String value()
-
fromValue
public static DeviceStatus fromValue(java.lang.String v)
-
-