public static enum TMCStatus.TMCStatusEnum extends Enum<TMCStatus.TMCStatusEnum>
Enum Constant and Description |
---|
Geaendert
Geändert.
|
Geloescht
Gelöscht.
|
Neu
Neu.
|
Unbekannt
unbekannter Status.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gibt den numerischen Wert zurück.
|
static TMCStatus.TMCStatusEnum |
getInstance(int id)
Gibt eine passende Status-Instanz zurück.
|
String |
getValue()
Gibt den textuellen Wert zurück.
|
static TMCStatus.TMCStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TMCStatus.TMCStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TMCStatus.TMCStatusEnum Unbekannt
public static final TMCStatus.TMCStatusEnum Neu
public static final TMCStatus.TMCStatusEnum Geaendert
public static final TMCStatus.TMCStatusEnum Geloescht
public static TMCStatus.TMCStatusEnum[] values()
for (TMCStatus.TMCStatusEnum c : TMCStatus.TMCStatusEnum.values()) System.out.println(c);
public static TMCStatus.TMCStatusEnum 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 TMCStatus.TMCStatusEnum getInstance(int id) throws TIC3Exception
id
- numerischer WertTIC3Exception
- bei ungültigem Wertpublic int getId()
public String getValue()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.