public static enum FloodContainer.FloodItem extends java.lang.Enum<FloodContainer.FloodItem>
| Enum Constant and Description |
|---|
ACTUALLY_IN_FLOOD |
AVG_ALARMS |
FLOOD_TIME |
HIGHEST_ALARMS |
MEASURED_TIME |
NUM_OF_FLOODS |
TOT_ALARMS |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
description
The name show in the first column
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Number |
getValue()
Getter
|
void |
setNumber(java.lang.Number newValue) |
java.lang.String |
toString() |
static FloodContainer.FloodItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FloodContainer.FloodItem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FloodContainer.FloodItem NUM_OF_FLOODS
public static final FloodContainer.FloodItem ACTUALLY_IN_FLOOD
public static final FloodContainer.FloodItem TOT_ALARMS
public static final FloodContainer.FloodItem HIGHEST_ALARMS
public static final FloodContainer.FloodItem AVG_ALARMS
public static final FloodContainer.FloodItem MEASURED_TIME
public static final FloodContainer.FloodItem FLOOD_TIME
public static FloodContainer.FloodItem[] values()
for (FloodContainer.FloodItem c : FloodContainer.FloodItem.values()) System.out.println(c);
public static FloodContainer.FloodItem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void setNumber(java.lang.Number newValue)
public java.lang.Number getValue()
public java.lang.String toString()
toString in class java.lang.Enum<FloodContainer.FloodItem>