Package org.openwebnet4j.message
Enum Thermoregulation.Function
- java.lang.Object
-
- java.lang.Enum<Thermoregulation.Function>
-
- org.openwebnet4j.message.Thermoregulation.Function
-
- All Implemented Interfaces:
Serializable
,Comparable<Thermoregulation.Function>
- Enclosing class:
- Thermoregulation
public static enum Thermoregulation.Function extends Enum<Thermoregulation.Function>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Thermoregulation.Function
fromValue(Integer i)
Integer
value()
static Thermoregulation.Function
valueOf(String name)
Returns the enum constant of this type with the specified name.static Thermoregulation.Function[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEATING
public static final Thermoregulation.Function HEATING
-
COOLING
public static final Thermoregulation.Function COOLING
-
GENERIC
public static final Thermoregulation.Function GENERIC
-
-
Method Detail
-
values
public static Thermoregulation.Function[] 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.Function c : Thermoregulation.Function.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.Function 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.Function fromValue(Integer i)
-
value
public Integer value()
-
-