de.bsvrz.ste.rdstmc.meldungserstellung
Enum LocationMethode
java.lang.Object
java.lang.Enum<LocationMethode>
de.bsvrz.ste.rdstmc.meldungserstellung.LocationMethode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LocationMethode>
public enum LocationMethode
- extends java.lang.Enum<LocationMethode>
Location-Methode zum Erstellen von Meldungen
- Version:
- $Revision: 1.1 $ / $Date: 2009/01/27 13:54:22 $ / ($Author: Sans $)
- Author:
- Dambach Werke
Field Summary |
int |
id
Numerische Darstellung der Location-Methode |
java.lang.String |
text
Text-Darstellung der Location-Methode |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
LISTE
public static final LocationMethode LISTE
EXTEND
public static final LocationMethode EXTEND
id
public final int id
- Numerische Darstellung der Location-Methode
text
public final java.lang.String text
- Text-Darstellung der Location-Methode
values
public static LocationMethode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LocationMethode c : LocationMethode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LocationMethode valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<LocationMethode>
get
public static LocationMethode get(int id)
- Parameters:
id
- der LocationMethode
- Returns:
- die zur übergebenen Id gehörende LocationMethode oder null,
falls es zur Id keine LocationMethode gibt