public static enum TIC3LocationTyp.TIC3LocationTypEN extends Enum<TIC3LocationTyp.TIC3LocationTypEN>
Enum Constant and Description |
---|
Area
Area.
|
Line
Line (Strecke).
|
Point
Point.
|
Unbekannt
unbekannter Typ.
|
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 TIC3LocationTyp.TIC3LocationTypEN |
getInstance(int id)
Gibt eine passende Status-Instanz zurück.
|
String |
getValue()
Gibt den textuellen Wert zurück.
|
String |
toString() |
static TIC3LocationTyp.TIC3LocationTypEN |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TIC3LocationTyp.TIC3LocationTypEN[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TIC3LocationTyp.TIC3LocationTypEN Unbekannt
public static final TIC3LocationTyp.TIC3LocationTypEN Area
public static final TIC3LocationTyp.TIC3LocationTypEN Line
public static final TIC3LocationTyp.TIC3LocationTypEN Point
private final String value
private int id
public static TIC3LocationTyp.TIC3LocationTypEN[] values()
for (TIC3LocationTyp.TIC3LocationTypEN c : TIC3LocationTyp.TIC3LocationTypEN.values()) System.out.println(c);
public static TIC3LocationTyp.TIC3LocationTypEN 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 TIC3LocationTyp.TIC3LocationTypEN getInstance(int id) throws TIC3Exception
id
- numerischer WertTIC3Exception
- bei ungültigem Wertpublic int getId()
public String getValue()
public String toString()
toString
in class Enum<TIC3LocationTyp.TIC3LocationTypEN>
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.