public enum TrafficConstrictionTypeEnum extends java.lang.Enum<TrafficConstrictionTypeEnum>
Java class for TrafficConstrictionTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrafficConstrictionTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="lanesBlocked"/> <enumeration value="lanesPartiallyObstructed"/> <enumeration value="roadBlocked"/> <enumeration value="roadPartiallyObstructed"/> </restriction> </simpleType>
Enum Constant and Description |
---|
LANES_BLOCKED
One or more lanes is totally obstructed in the specified direction due to an unplanned event.
|
LANES_PARTIALLY_OBSTRUCTED
One or more lanes is partially obstructed in the specified direction due to an unplanned event.
|
ROAD_BLOCKED
The road is totally obstructed, for all vehicles in both directions, due to an unplanned event.
|
ROAD_PARTIALLY_OBSTRUCTED
The road is partially obstructed in both directions due to an unplanned event.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static TrafficConstrictionTypeEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static TrafficConstrictionTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrafficConstrictionTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficConstrictionTypeEnum LANES_BLOCKED
public static final TrafficConstrictionTypeEnum LANES_PARTIALLY_OBSTRUCTED
public static final TrafficConstrictionTypeEnum ROAD_BLOCKED
public static final TrafficConstrictionTypeEnum ROAD_PARTIALLY_OBSTRUCTED
public static TrafficConstrictionTypeEnum[] values()
for (TrafficConstrictionTypeEnum c : TrafficConstrictionTypeEnum.values()) System.out.println(c);
public static TrafficConstrictionTypeEnum 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 TrafficConstrictionTypeEnum fromValue(java.lang.String v)