Enum AccessDeviceStatus
- java.lang.Object
-
- java.lang.Enum<AccessDeviceStatus>
-
- co.ecg.alpaca.toolkit.generated.enums.AccessDeviceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AccessDeviceStatus>
public enum AccessDeviceStatus extends Enum<AccessDeviceStatus>
Choices for the access device status.- Author:
- AlpacaGenerator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFFLINEONLINEUNAVAILABLEUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessDeviceStatusget(String value)static AccessDeviceStatus[]getArray(String[] values)StringtoString()Stringvalue()static AccessDeviceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AccessDeviceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE
public static final AccessDeviceStatus ONLINE
-
OFFLINE
public static final AccessDeviceStatus OFFLINE
-
UNAVAILABLE
public static final AccessDeviceStatus UNAVAILABLE
-
UNKNOWN
public static final AccessDeviceStatus UNKNOWN
-
-
Method Detail
-
values
public static AccessDeviceStatus[] 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 (AccessDeviceStatus c : AccessDeviceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessDeviceStatus 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()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AccessDeviceStatus>
-
get
public static AccessDeviceStatus get(String value)
-
getArray
public static AccessDeviceStatus[] getArray(String[] values)
-
-