public static enum EnergyUsageRead.ReadUTypeEnum extends Enum<EnergyUsageRead.ReadUTypeEnum>
| Enum Constant and Description |
|---|
BASIC_READ |
INTERVAL_READ |
| Modifier and Type | Method and Description |
|---|---|
static EnergyUsageRead.ReadUTypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static EnergyUsageRead.ReadUTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnergyUsageRead.ReadUTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnergyUsageRead.ReadUTypeEnum BASIC_READ
public static final EnergyUsageRead.ReadUTypeEnum INTERVAL_READ
public static EnergyUsageRead.ReadUTypeEnum[] values()
for (EnergyUsageRead.ReadUTypeEnum c : EnergyUsageRead.ReadUTypeEnum.values()) System.out.println(c);
public static EnergyUsageRead.ReadUTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<EnergyUsageRead.ReadUTypeEnum>public static EnergyUsageRead.ReadUTypeEnum fromValue(String value)
Copyright © 2023. All rights reserved.