public enum IndoorClimateType extends Enum<IndoorClimateType>
| Enum Constant and Description |
|---|
COMFORTABLE |
DRY |
UNKNOWN |
WET |
| Modifier and Type | Method and Description |
|---|---|
static IndoorClimateType |
getById(Integer id) |
int |
getId() |
static IndoorClimateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndoorClimateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndoorClimateType UNKNOWN
public static final IndoorClimateType WET
public static final IndoorClimateType COMFORTABLE
public static final IndoorClimateType DRY
public static IndoorClimateType[] values()
for (IndoorClimateType c : IndoorClimateType.values()) System.out.println(c);
public static IndoorClimateType 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 int getId()
public static IndoorClimateType getById(Integer id)
Copyright © 2017. All rights reserved.