public enum RdsTMCRichtung extends java.lang.Enum<RdsTMCRichtung> implements Zustand<java.lang.Integer>
Enum Constant and Description |
---|
NEGATIV
Richtung negativ, Wert 1.
|
POSITIV
Richtung positiv, Wert 0.
|
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 RdsTMCRichtung |
getStatus(int gesuchterCode)
liefert die Rds-TMC-Richtung mit dem übergebenen Code.
|
static RdsTMCRichtung |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RdsTMCRichtung[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RdsTMCRichtung POSITIV
public static final RdsTMCRichtung NEGATIV
public static RdsTMCRichtung[] values()
for (RdsTMCRichtung c : RdsTMCRichtung.values()) System.out.println(c);
public static RdsTMCRichtung 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 RdsTMCRichtung getStatus(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.public java.lang.Integer getCode()