public static enum TMCVewMeldung.TMCStatus extends Enum<TMCVewMeldung.TMCStatus>
Enum Constant and Description |
---|
Geaendert
Geändert.
|
Geloescht
Gelöscht.
|
Neu
Neu.
|
Unbekannt
unbekannter Status.
|
Modifier and Type | Field and Description |
---|---|
private int |
id
numerischer Wert.
|
private String |
value
textueller Wert.
|
Modifier and Type | Method and Description |
---|---|
static TMCVewMeldung.TMCStatus |
get(String text)
Bestimmt den Zustand zu einem Text.
|
int |
getId()
Gibt den numerischen Wert zurück.
|
String |
getValue()
Gibt den textuellen Wert zurück.
|
String |
toString() |
static TMCVewMeldung.TMCStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TMCVewMeldung.TMCStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TMCVewMeldung.TMCStatus Unbekannt
public static final TMCVewMeldung.TMCStatus Neu
public static final TMCVewMeldung.TMCStatus Geaendert
public static final TMCVewMeldung.TMCStatus Geloescht
private final String value
private int id
public static TMCVewMeldung.TMCStatus[] values()
for (TMCVewMeldung.TMCStatus c : TMCVewMeldung.TMCStatus.values()) System.out.println(c);
public static TMCVewMeldung.TMCStatus 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()
public String toString()
toString
in class Enum<TMCVewMeldung.TMCStatus>
public static TMCVewMeldung.TMCStatus get(String text)
text
- der Text, zu dem der Zustand bestimmt werde sollCopyright © 2016 BitCtrl Systems GmbH. All rights reserved.