public enum LocationMethode extends java.lang.Enum<LocationMethode>
Modifier and Type | Field and Description |
---|---|
int |
id
Numerische Darstellung der Location-Methode.
|
java.lang.String |
text
Text-Darstellung der Location-Methode.
|
Modifier and Type | Method and Description |
---|---|
static LocationMethode |
get(int id)
.
|
java.lang.String |
toString() |
static LocationMethode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationMethode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationMethode LISTE
public static final LocationMethode EXTEND
public final int id
public final java.lang.String text
public static LocationMethode[] values()
for (LocationMethode c : LocationMethode.values()) System.out.println(c);
public static LocationMethode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<LocationMethode>
public static LocationMethode get(int id)
id
- der LocationMethode