public enum RoadworksDurationEnum extends Enum<RoadworksDurationEnum>
Java class for RoadworksDurationEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoadworksDurationEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="longTerm"/>
<enumeration value="mediumTerm"/>
<enumeration value="shortTerm"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LONG_TERM |
MEDIUM_TERM |
SHORT_TERM |
| Modifier and Type | Method and Description |
|---|---|
static RoadworksDurationEnum |
fromValue(String v) |
String |
value() |
static RoadworksDurationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadworksDurationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadworksDurationEnum LONG_TERM
public static final RoadworksDurationEnum MEDIUM_TERM
public static final RoadworksDurationEnum SHORT_TERM
public static RoadworksDurationEnum[] values()
for (RoadworksDurationEnum c : RoadworksDurationEnum.values()) System.out.println(c);
public static RoadworksDurationEnum 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 RoadworksDurationEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.