public enum RdsLocationKategorie extends Enum<RdsLocationKategorie> implements Zustand<Integer>
Enum Constant and Description |
---|
GEBIET
Gebiet, Wert 1.
|
LINIE
Linie, Wert 3.
|
NICHT_BENUTZT
Nicht benutzt, Wert 0.
|
PUNKT
bedeutender Punkt, Wert 2.
|
SEGMENT
Segment, Wert 4.
|
Modifier and Type | Field and Description |
---|---|
private int |
code
der Code des Zustandes.
|
private String |
name
der Name des Zustandes.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
liefert den Code des Zustandes.
|
String |
getName()
liefert den Namen des Zustandes.
|
static RdsLocationKategorie |
getStatus(int gesuchterCode)
liefert die Rds-Locationkategorie mit dem übergebenen Code.
|
static RdsLocationKategorie |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RdsLocationKategorie[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RdsLocationKategorie NICHT_BENUTZT
public static final RdsLocationKategorie GEBIET
public static final RdsLocationKategorie PUNKT
public static final RdsLocationKategorie LINIE
public static final RdsLocationKategorie SEGMENT
private int code
private String name
public static RdsLocationKategorie[] values()
for (RdsLocationKategorie c : RdsLocationKategorie.values()) System.out.println(c);
public static RdsLocationKategorie valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static RdsLocationKategorie getStatus(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.