public enum RdsLocationFormat extends Enum<RdsLocationFormat> implements Zustand<Integer>
Enum Constant and Description |
---|
TIC
TIC Location, Wert 1.
|
TMC
TMC Location, Wert 0.
|
UNFORMATIERT
Unformatiert, Wert 2.
|
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 RdsLocationFormat |
getStatus(int gesuchterCode)
liefert das Rds-Locationformat mit dem übergebenen Code.
|
static RdsLocationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RdsLocationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RdsLocationFormat TMC
public static final RdsLocationFormat TIC
public static final RdsLocationFormat UNFORMATIERT
private int code
private String name
public static RdsLocationFormat[] values()
for (RdsLocationFormat c : RdsLocationFormat.values()) System.out.println(c);
public static RdsLocationFormat 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 RdsLocationFormat getStatus(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.