public enum RdsEreignisTyp extends java.lang.Enum<RdsEreignisTyp> implements Zustand<java.lang.Integer>
Enum Constant and Description |
---|
BAUSTELLE
Bauarbeiten, Wert 1.
|
STOERUNG
Störung, Wert 0.
|
STRASSENZUSTAND
Strassenzustand, Wert 8.
|
WETTER
Wetter, Wert 9.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCode()
liefert den Code des Zustandes.
|
java.lang.String |
getName()
liefert den Namen des Zustandes.
|
static RdsEreignisTyp |
getStatus(int gesuchterCode)
liefert den Rds-Ereignistyp mit dem übergebenen Code.
|
static RdsEreignisTyp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RdsEreignisTyp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RdsEreignisTyp STOERUNG
public static final RdsEreignisTyp BAUSTELLE
public static final RdsEreignisTyp STRASSENZUSTAND
public static final RdsEreignisTyp WETTER
public static RdsEreignisTyp[] values()
for (RdsEreignisTyp c : RdsEreignisTyp.values()) System.out.println(c);
public static RdsEreignisTyp 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 static RdsEreignisTyp getStatus(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.public java.lang.Integer getCode()