Enum EffectOnRoadLayoutEnum
- java.lang.Object
-
- java.lang.Enum<EffectOnRoadLayoutEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.EffectOnRoadLayoutEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EffectOnRoadLayoutEnum>
public enum EffectOnRoadLayoutEnum extends Enum<EffectOnRoadLayoutEnum>
Java class for EffectOnRoadLayoutEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EffectOnRoadLayoutEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="carriagewayClosures"/> <enumeration value="contraflow"/> <enumeration value="laneClosures"/> <enumeration value="lanesDeviated"/> <enumeration value="narrowLanes"/> <enumeration value="newRoadworksLayout"/> <enumeration value="obstacleSignalling"/> <enumeration value="roadLayoutUnchanged"/> <enumeration value="temporaryTrafficLights"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CARRIAGEWAY_CLOSURESRoadworks are resulting in carriageway closures at the specified location.CONTRAFLOWRoadworks are resulting in contraflow of traffic at the specified location.LANE_CLOSURESRoadworks are resulting in lane closures at the specified location.LANES_DEVIATEDRoadworks are resulting in lane deviations at the specified location.NARROW_LANESRoadworks are resulting in narrow lanes at the specified location.NEW_ROADWORKS_LAYOUTA new layout of lanes/carriageway has been implemeted associated with the roadworks.OBSTACLE_SIGNALLINGSigns are being put out before or around an obstacle to protect drivers.ROAD_LAYOUT_UNCHANGEDThe existing road layout is unchanged during the period of roadworks.TEMPORARY_TRAFFIC_LIGHTSTraffic is being controlled by temporary traffic lights (red-yellow-green or red-green).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EffectOnRoadLayoutEnumfromValue(String v)Stringvalue()static EffectOnRoadLayoutEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EffectOnRoadLayoutEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CARRIAGEWAY_CLOSURES
public static final EffectOnRoadLayoutEnum CARRIAGEWAY_CLOSURES
Roadworks are resulting in carriageway closures at the specified location.
-
CONTRAFLOW
public static final EffectOnRoadLayoutEnum CONTRAFLOW
Roadworks are resulting in contraflow of traffic at the specified location.
-
LANE_CLOSURES
public static final EffectOnRoadLayoutEnum LANE_CLOSURES
Roadworks are resulting in lane closures at the specified location.
-
LANES_DEVIATED
public static final EffectOnRoadLayoutEnum LANES_DEVIATED
Roadworks are resulting in lane deviations at the specified location.
-
NARROW_LANES
public static final EffectOnRoadLayoutEnum NARROW_LANES
Roadworks are resulting in narrow lanes at the specified location.
-
NEW_ROADWORKS_LAYOUT
public static final EffectOnRoadLayoutEnum NEW_ROADWORKS_LAYOUT
A new layout of lanes/carriageway has been implemeted associated with the roadworks.
-
OBSTACLE_SIGNALLING
public static final EffectOnRoadLayoutEnum OBSTACLE_SIGNALLING
Signs are being put out before or around an obstacle to protect drivers.
-
ROAD_LAYOUT_UNCHANGED
public static final EffectOnRoadLayoutEnum ROAD_LAYOUT_UNCHANGED
The existing road layout is unchanged during the period of roadworks.
-
TEMPORARY_TRAFFIC_LIGHTS
public static final EffectOnRoadLayoutEnum TEMPORARY_TRAFFIC_LIGHTS
Traffic is being controlled by temporary traffic lights (red-yellow-green or red-green).
-
-
Method Detail
-
values
public static EffectOnRoadLayoutEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EffectOnRoadLayoutEnum c : EffectOnRoadLayoutEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EffectOnRoadLayoutEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static EffectOnRoadLayoutEnum fromValue(String v)
-
-