public enum TmcRichtung extends java.lang.Enum<TmcRichtung> implements Zustand<java.lang.Integer>
Enum Constant and Description |
---|
NEGATIV
die Richtung ist Positiv.
|
OHNE
es ist keine Richtung festgelegt.
|
POSITIV
die Richtung ist Positiv.
|
UNDEFINIERT
die Richtung ist nicht definiert.
|
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 TmcRichtung |
getTyp(int gesuchterCode)
liefert den Typ, der dem übergebenen Code entspricht.
|
static TmcRichtung |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TmcRichtung[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TmcRichtung UNDEFINIERT
public static final TmcRichtung POSITIV
public static final TmcRichtung OHNE
public static final TmcRichtung NEGATIV
public static TmcRichtung[] values()
for (TmcRichtung c : TmcRichtung.values()) System.out.println(c);
public static TmcRichtung 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 TmcRichtung getTyp(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wirdIllegalArgumentException
geworfen.public java.lang.Integer getCode()