public enum MobilityEnum extends Enum<MobilityEnum>
Java class for MobilityEnum.
The following schema fragment specifies the expected content contained within this class.
<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 |
STATIONARY |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static MobilityEnum |
fromValue(String v) |
String |
value() |
static MobilityEnum |
valueOf(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(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 String value()
public static MobilityEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.