public enum StrassenKnotenTyp extends java.lang.Enum<StrassenKnotenTyp> implements Zustand<java.lang.Integer>
Enum Constant and Description |
---|
AUTOBAHNANSCHLUSS
eine Autobahnanschlussstelle.
|
AUTOBAHNDREIECK
ein Autobahndreicek.
|
AUTOBAHNENDE
ein Autobahnende.
|
AUTOBAHNKREUZ
ein Autobahnkreuz.
|
SONSTIG
Allgemeiner nicht näher definierter Knoten.
|
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 StrassenKnotenTyp |
getTyp(int gesuchterCode)
liefert den Straßenknotentyp, der dem übergebenen Code entspricht.
|
static StrassenKnotenTyp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StrassenKnotenTyp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrassenKnotenTyp SONSTIG
public static final StrassenKnotenTyp AUTOBAHNKREUZ
public static final StrassenKnotenTyp AUTOBAHNDREIECK
public static final StrassenKnotenTyp AUTOBAHNANSCHLUSS
public static final StrassenKnotenTyp AUTOBAHNENDE
public static StrassenKnotenTyp[] values()
for (StrassenKnotenTyp c : StrassenKnotenTyp.values()) System.out.println(c);
public static StrassenKnotenTyp 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 StrassenKnotenTyp getTyp(int gesuchterCode)
gesuchterCode
- der Code, für den ein StraßenknotenIllegalArgumentException
geworfen.public java.lang.Integer getCode()