public enum MobilityEnum extends java.lang.Enum<MobilityEnum>
Java-Klasse für MobilityEnum.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType name="MobilityEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="mobile"/>
<enumeration value="stationary"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MOBILE
The described element of a situation is moving.
|
STATIONARY
The described element of a situation is stationary.
|
UNKNOWN
The mobility of the described element of a situation is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static MobilityEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static MobilityEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MobilityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobilityEnum MOBILE
public static final MobilityEnum STATIONARY
public static final MobilityEnum UNKNOWN
public static MobilityEnum[] values()
for (MobilityEnum c : MobilityEnum.values()) System.out.println(c);
public static MobilityEnum 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 value()
public static MobilityEnum fromValue(java.lang.String v)