public static enum TMCRichtung.TMCRichtungEnum extends Enum<TMCRichtung.TMCRichtungEnum>
| Enum Constant and Description |
|---|
Negativ
negativ.
|
OhneRichtung
ohne Richtung.
|
Positiv
positiv.
|
| 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.
|
static TMCRichtung.TMCRichtungEnum |
getInstance(int id)
Gibt eine passende Richtung-Instanz zurück.
|
String |
getValue()
Gibt den textuellen Wert zurück.
|
static TMCRichtung.TMCRichtungEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TMCRichtung.TMCRichtungEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TMCRichtung.TMCRichtungEnum Negativ
public static final TMCRichtung.TMCRichtungEnum OhneRichtung
public static final TMCRichtung.TMCRichtungEnum Positiv
private final String value
private int id
public static TMCRichtung.TMCRichtungEnum[] values()
for (TMCRichtung.TMCRichtungEnum c : TMCRichtung.TMCRichtungEnum.values()) System.out.println(c);
public static TMCRichtung.TMCRichtungEnum 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 TMCRichtung.TMCRichtungEnum 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.