public static enum CapabilityPowerLevels.AttributeId extends java.lang.Enum<CapabilityPowerLevels.AttributeId> implements Capability.AttributeId
CapabilityPowerLevels
.Enum Constant and Description |
---|
LEVEL_CRITICAL_FLAG |
LEVEL_LOW_FLAG |
LEVEL_PCT |
VOLT_LOW_FLAG |
VOLTAGE_MV |
Modifier and Type | Method and Description |
---|---|
Capability.CapabilityId |
getCapabilityId() |
static CapabilityPowerLevels.AttributeId |
getEnum(int index) |
int |
getInt() |
static CapabilityPowerLevels.AttributeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityPowerLevels.AttributeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityPowerLevels.AttributeId VOLTAGE_MV
public static final CapabilityPowerLevels.AttributeId LEVEL_PCT
public static final CapabilityPowerLevels.AttributeId VOLT_LOW_FLAG
public static final CapabilityPowerLevels.AttributeId LEVEL_LOW_FLAG
public static final CapabilityPowerLevels.AttributeId LEVEL_CRITICAL_FLAG
public static CapabilityPowerLevels.AttributeId[] values()
for (CapabilityPowerLevels.AttributeId c : CapabilityPowerLevels.AttributeId.values()) System.out.println(c);
public static CapabilityPowerLevels.AttributeId 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 CapabilityPowerLevels.AttributeId getEnum(int index)
public int getInt()
getInt
in interface CommandIdInterface
public Capability.CapabilityId getCapabilityId()
getCapabilityId
in interface Capability.AttributeId