de.bsvrz.ste.rdstmc.allgemein
Enum StoerfallZustand
java.lang.Object
java.lang.Enum<StoerfallZustand>
de.bsvrz.ste.rdstmc.allgemein.StoerfallZustand
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StoerfallZustand>
public enum StoerfallZustand
- extends java.lang.Enum<StoerfallZustand>
Die möglichen Zustände einer Störfallsituation
- Version:
- $Revision: 1.2 $ / $Date: 2009/01/27 13:54:22 $ / ($Author: Sans $)
- Author:
- Dambach Werke GmbH
Field Summary |
int |
id
Numerische Darstellung der Störfallsituation |
java.lang.String |
text
Text-Darstellung der Störfallsituation |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
STOERUNG
public static final StoerfallZustand STOERUNG
KEINE_AUSSAGE
public static final StoerfallZustand KEINE_AUSSAGE
FREIER_VERKEHR
public static final StoerfallZustand FREIER_VERKEHR
LEBHAFTER_VERKEHR
public static final StoerfallZustand LEBHAFTER_VERKEHR
DICHTER_VERKEHR
public static final StoerfallZustand DICHTER_VERKEHR
ZAEHFLIESSENDER_VERKEHR
public static final StoerfallZustand ZAEHFLIESSENDER_VERKEHR
STOCKENDER_VERKEHR
public static final StoerfallZustand STOCKENDER_VERKEHR
STAU
public static final StoerfallZustand STAU
id
public final int id
- Numerische Darstellung der Störfallsituation
text
public final java.lang.String text
- Text-Darstellung der Störfallsituation
values
public static StoerfallZustand[] 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 (StoerfallZustand c : StoerfallZustand.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StoerfallZustand valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<StoerfallZustand>
get
public static StoerfallZustand get(int id)
- Parameters:
id
- Störfallzustands-Id
- Returns:
- der zur übergebenen Zustands-Id gehörende StörfallZustand oder null,
falls es zur Id keinen StörfallZustand gibt