public enum HardShoulderStatusEnum extends java.lang.Enum<HardShoulderStatusEnum>
Java-Klasse für HardShoulderStatusEnum.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType name="HardShoulderStatusEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="availableForDriving"/> <enumeration value="availableForStopping"/> <enumeration value="closed"/> </restriction> </simpleType>
Enum Constant and Description |
---|
AVAILABLE_FOR_DRIVING
The hard shoulder is available for driving.
|
AVAILABLE_FOR_STOPPING
The hard shoulder is available for stopping.
|
CLOSED
The hard shoulder is closed.
|
Modifier and Type | Method and Description |
---|---|
static HardShoulderStatusEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static HardShoulderStatusEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HardShoulderStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardShoulderStatusEnum AVAILABLE_FOR_DRIVING
public static final HardShoulderStatusEnum AVAILABLE_FOR_STOPPING
public static final HardShoulderStatusEnum CLOSED
public static HardShoulderStatusEnum[] values()
for (HardShoulderStatusEnum c : HardShoulderStatusEnum.values()) System.out.println(c);
public static HardShoulderStatusEnum 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 HardShoulderStatusEnum fromValue(java.lang.String v)