public static enum CapabilityEnergyMetering.AttributeId extends java.lang.Enum<CapabilityEnergyMetering.AttributeId> implements Capability.AttributeId
CapabilityEnergyMetering.| Enum Constant and Description |
|---|
CONS_PROD_FMT_DECIMALS
Deprecated.
|
CONS_PROD_FMT_DIGITS
Deprecated.
|
CONSUMPTION
Determines consumption in kWh.
|
DEMAND_DECIMALS
Deprecated.
|
DEMAND_FMT_DIGITS
Deprecated.
|
DEMAND_WATT
Determines demand in watts.
|
DIVISOR
Deprecated.
|
LAST_READ_TIME_ARR
Determines last attribute update times of resource.
|
MULTIPLIER
Deprecated.
|
PRODUCTION
Determines production in kWh.
|
UNIT_OF_MEASURE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Capability.CapabilityId |
getCapabilityId()
A function to get
Capability.CapabilityId of parent capability. |
static CapabilityEnergyMetering.AttributeId |
getEnum(int index)
A function to get
Capability.AttributeId. |
int |
getInt()
A function to get ordinal value of enum.
|
static CapabilityEnergyMetering.AttributeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityEnergyMetering.AttributeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityEnergyMetering.AttributeId CONSUMPTION
public static final CapabilityEnergyMetering.AttributeId DEMAND_WATT
public static final CapabilityEnergyMetering.AttributeId LAST_READ_TIME_ARR
@Deprecated public static final CapabilityEnergyMetering.AttributeId MULTIPLIER
@Deprecated public static final CapabilityEnergyMetering.AttributeId DIVISOR
@Deprecated public static final CapabilityEnergyMetering.AttributeId CONS_PROD_FMT_DIGITS
@Deprecated public static final CapabilityEnergyMetering.AttributeId CONS_PROD_FMT_DECIMALS
@Deprecated public static final CapabilityEnergyMetering.AttributeId DEMAND_FMT_DIGITS
@Deprecated public static final CapabilityEnergyMetering.AttributeId DEMAND_DECIMALS
public static final CapabilityEnergyMetering.AttributeId PRODUCTION
@Deprecated public static final CapabilityEnergyMetering.AttributeId UNIT_OF_MEASURE
public static CapabilityEnergyMetering.AttributeId[] values()
for (CapabilityEnergyMetering.AttributeId c : CapabilityEnergyMetering.AttributeId.values()) System.out.println(c);
public static CapabilityEnergyMetering.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 CapabilityEnergyMetering.AttributeId getEnum(int index)
Capability.AttributeId.index - index of the required Capability.AttributeId.Capability.AttributeId at the given index.public int getInt()
getInt in interface CommandIdInterfacepublic Capability.CapabilityId getCapabilityId()
Capability.CapabilityId of parent capability.getCapabilityId in interface Capability.AttributeIdCapability.CapabilityId of parent.