public enum DiveGasStatus extends java.lang.Enum<DiveGasStatus>
Enum Constant and Description |
---|
BACKUP_ONLY |
DISABLED |
ENABLED |
INVALID |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static DiveGasStatus |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(DiveGasStatus value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static DiveGasStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiveGasStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiveGasStatus DISABLED
public static final DiveGasStatus ENABLED
public static final DiveGasStatus BACKUP_ONLY
public static final DiveGasStatus INVALID
public static DiveGasStatus[] values()
for (DiveGasStatus c : DiveGasStatus.values()) System.out.println(c);
public static DiveGasStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DiveGasStatus getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(DiveGasStatus value)
value
- The enum constantpublic short getValue()