Package org.openmuc.jdlms
Enum ObisCode.Medium
- java.lang.Object
-
- java.lang.Enum<ObisCode.Medium>
-
- org.openmuc.jdlms.ObisCode.Medium
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ObisCode.Medium>
- Enclosing class:
- ObisCode
public static enum ObisCode.Medium extends java.lang.Enum<ObisCode.Medium>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT
COLD_WATER
COOLING
ELECTRICITY
GAS
HEAT
HEAT_COST_ALLOCATOR
HOT_WATER
RESERVED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObisCode.Medium
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ObisCode.Medium[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSTRACT
public static final ObisCode.Medium ABSTRACT
-
ELECTRICITY
public static final ObisCode.Medium ELECTRICITY
-
HEAT_COST_ALLOCATOR
public static final ObisCode.Medium HEAT_COST_ALLOCATOR
-
COOLING
public static final ObisCode.Medium COOLING
-
HEAT
public static final ObisCode.Medium HEAT
-
GAS
public static final ObisCode.Medium GAS
-
COLD_WATER
public static final ObisCode.Medium COLD_WATER
-
HOT_WATER
public static final ObisCode.Medium HOT_WATER
-
RESERVED
public static final ObisCode.Medium RESERVED
-
-
Method Detail
-
values
public static ObisCode.Medium[] 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 (ObisCode.Medium c : ObisCode.Medium.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObisCode.Medium valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-