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