public enum RDSEreignis extends java.lang.Enum<RDSEreignis>
Enum Constant and Description |
---|
DICHTER_VERKEHR |
KEINE_AUSSAGE |
STAU |
STOCKENDER_VERKEHR |
Modifier and Type | Field and Description |
---|---|
int |
id
Numerische Darstellung des Ereignisses
|
java.lang.String |
text
Text-Darstellung des Ereignisses
|
Modifier and Type | Method and Description |
---|---|
static RDSEreignis |
get(int id) |
java.lang.String |
toString() |
static RDSEreignis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RDSEreignis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RDSEreignis KEINE_AUSSAGE
public static final RDSEreignis DICHTER_VERKEHR
public static final RDSEreignis STOCKENDER_VERKEHR
public static final RDSEreignis STAU
public final int id
public final java.lang.String text
public static RDSEreignis[] values()
for (RDSEreignis c : RDSEreignis.values()) System.out.println(c);
public static RDSEreignis 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<RDSEreignis>
public static RDSEreignis get(int id)
id
- Ereignis-Id