public static enum TMCEvent.TMCEventType extends Enum<TMCEvent.TMCEventType>
Enum Constant and Description |
---|
Empfehlungscode
Empfehlungscode.
|
Ereigniscode
Ereigniscode.
|
Unbekannt
Unbekannt.
|
Modifier and Type | Field and Description |
---|---|
private int |
id
numerischer Wert.
|
private String |
value
textueller Wert.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gibt den numerischen Wert zurück.
|
String |
getValue()
Gibt den textuellen Wert zurück.
|
static TMCEvent.TMCEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TMCEvent.TMCEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TMCEvent.TMCEventType Unbekannt
public static final TMCEvent.TMCEventType Ereigniscode
public static final TMCEvent.TMCEventType Empfehlungscode
private final String value
private int id
public static TMCEvent.TMCEventType[] values()
for (TMCEvent.TMCEventType c : TMCEvent.TMCEventType.values()) System.out.println(c);
public static TMCEvent.TMCEventType 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 int getId()
public String getValue()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.