public enum StoerfallZustand extends java.lang.Enum<StoerfallZustand>
Enum Constant and Description |
---|
DICHTER_VERKEHR
.
|
FREIER_VERKEHR
.
|
KEINE_AUSSAGE
.
|
LEBHAFTER_VERKEHR
.
|
STAU
.
|
STOCKENDER_VERKEHR
.
|
STOERUNG
.
|
ZAEHFLIESSENDER_VERKEHR
.
|
Modifier and Type | Field and Description |
---|---|
int |
id
Numerische Darstellung der Störfallsituation.
|
java.lang.String |
text
Text-Darstellung der Störfallsituation.
|
Modifier and Type | Method and Description |
---|---|
static StoerfallZustand |
get(int id)
Gibt den zur übergebenen Zustands-Id gehörende StörfallZustand zurück.
|
java.lang.String |
toString() |
static StoerfallZustand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoerfallZustand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoerfallZustand STOERUNG
public static final StoerfallZustand KEINE_AUSSAGE
public static final StoerfallZustand FREIER_VERKEHR
public static final StoerfallZustand LEBHAFTER_VERKEHR
public static final StoerfallZustand DICHTER_VERKEHR
public static final StoerfallZustand ZAEHFLIESSENDER_VERKEHR
public static final StoerfallZustand STOCKENDER_VERKEHR
public static final StoerfallZustand STAU
public final int id
public final java.lang.String text
public static StoerfallZustand[] values()
for (StoerfallZustand c : StoerfallZustand.values()) System.out.println(c);
public static StoerfallZustand 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 java.lang.String toString()
toString
in class java.lang.Enum<StoerfallZustand>
public static StoerfallZustand get(int id)
id
- Störfallzustands-Id