Package org.openwebnet4j.message
Enum Thermoregulation.OperationMode
- java.lang.Object
-
- java.lang.Enum<Thermoregulation.OperationMode>
-
- org.openwebnet4j.message.Thermoregulation.OperationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<Thermoregulation.OperationMode>
- Enclosing class:
- Thermoregulation
public static enum Thermoregulation.OperationMode extends Enum<Thermoregulation.OperationMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANUAL
OFF
PROTECTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Thermoregulation.OperationMode
fromValue(Integer i)
Integer
value()
static Thermoregulation.OperationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Thermoregulation.OperationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final Thermoregulation.OperationMode MANUAL
-
PROTECTION
public static final Thermoregulation.OperationMode PROTECTION
-
OFF
public static final Thermoregulation.OperationMode OFF
-
-
Method Detail
-
values
public static Thermoregulation.OperationMode[] 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 (Thermoregulation.OperationMode c : Thermoregulation.OperationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Thermoregulation.OperationMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static Thermoregulation.OperationMode fromValue(Integer i)
-
value
public Integer value()
-
-