public enum TrafficConstrictionTypeEnum extends 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="carriagewayBlocked"/>
<enumeration value="carriagewayPartiallyObstructed"/>
<enumeration value="lanesBlocked"/>
<enumeration value="lanesPartiallyObstructed"/>
<enumeration value="roadBlocked"/>
<enumeration value="roadPartiallyObstructed"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CARRIAGEWAY_BLOCKED |
CARRIAGEWAY_PARTIALLY_OBSTRUCTED |
LANES_BLOCKED |
LANES_PARTIALLY_OBSTRUCTED |
ROAD_BLOCKED |
ROAD_PARTIALLY_OBSTRUCTED |
| Modifier and Type | Method and Description |
|---|---|
static TrafficConstrictionTypeEnum |
fromValue(String v) |
String |
value() |
static TrafficConstrictionTypeEnum |
valueOf(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 CARRIAGEWAY_BLOCKED
public static final TrafficConstrictionTypeEnum CARRIAGEWAY_PARTIALLY_OBSTRUCTED
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(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 TrafficConstrictionTypeEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.