Enum LaneUsageEnum
- java.lang.Object
-
- java.lang.Enum<LaneUsageEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.LaneUsageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<LaneUsageEnum>
public enum LaneUsageEnum extends Enum<LaneUsageEnum>
Java class for LaneUsageEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LaneUsageEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="heavyVehiclesUseLeftLane"/> <enumeration value="heavyVehiclesUseRightLane"/> <enumeration value="keepToTheLeft"/> <enumeration value="keepToTheRight"/> <enumeration value="useBusLane"/> <enumeration value="useHardShoulder"/> <enumeration value="useHeavyVehicleLane"/> <enumeration value="useLeftHandParallelCarriageway"/> <enumeration value="useLeftLane"/> <enumeration value="useLocalTrafficLanes"/> <enumeration value="useRightHandParallelCarriageway"/> <enumeration value="useRightLane"/> <enumeration value="useThroughTrafficLanes"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HEAVY_VEHICLES_USE_LEFT_LANEHeavy vehicles use left lane.HEAVY_VEHICLES_USE_RIGHT_LANEHeavy vehicles use right lane.KEEP_TO_THE_LEFTKeep to the left.KEEP_TO_THE_RIGHTKeep to the right.OTHEROther than as defined in this enumeration.USE_BUS_LANEUse the bus lane.USE_HARD_SHOULDERUse the hard shoulder as a lane.USE_HEAVY_VEHICLE_LANEUse heavy vehicle lane.USE_LEFT_HAND_PARALLEL_CARRIAGEWAYUse left-hand parallel carriageway.USE_LEFT_LANEUse left lane.USE_LOCAL_TRAFFIC_LANESUse local traffic lanes.USE_RIGHT_HAND_PARALLEL_CARRIAGEWAYUse right-hand parallel carriageway.USE_RIGHT_LANEUse right lane.USE_THROUGH_TRAFFIC_LANESUse through traffic lanes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaneUsageEnumfromValue(String v)Stringvalue()static LaneUsageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static LaneUsageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEAVY_VEHICLES_USE_LEFT_LANE
public static final LaneUsageEnum HEAVY_VEHICLES_USE_LEFT_LANE
Heavy vehicles use left lane.
-
HEAVY_VEHICLES_USE_RIGHT_LANE
public static final LaneUsageEnum HEAVY_VEHICLES_USE_RIGHT_LANE
Heavy vehicles use right lane.
-
KEEP_TO_THE_LEFT
public static final LaneUsageEnum KEEP_TO_THE_LEFT
Keep to the left.
-
KEEP_TO_THE_RIGHT
public static final LaneUsageEnum KEEP_TO_THE_RIGHT
Keep to the right.
-
USE_BUS_LANE
public static final LaneUsageEnum USE_BUS_LANE
Use the bus lane.
-
USE_HARD_SHOULDER
public static final LaneUsageEnum USE_HARD_SHOULDER
Use the hard shoulder as a lane.
-
USE_HEAVY_VEHICLE_LANE
public static final LaneUsageEnum USE_HEAVY_VEHICLE_LANE
Use heavy vehicle lane.
-
USE_LEFT_HAND_PARALLEL_CARRIAGEWAY
public static final LaneUsageEnum USE_LEFT_HAND_PARALLEL_CARRIAGEWAY
Use left-hand parallel carriageway.
-
USE_LEFT_LANE
public static final LaneUsageEnum USE_LEFT_LANE
Use left lane.
-
USE_LOCAL_TRAFFIC_LANES
public static final LaneUsageEnum USE_LOCAL_TRAFFIC_LANES
Use local traffic lanes.
-
USE_RIGHT_HAND_PARALLEL_CARRIAGEWAY
public static final LaneUsageEnum USE_RIGHT_HAND_PARALLEL_CARRIAGEWAY
Use right-hand parallel carriageway.
-
USE_RIGHT_LANE
public static final LaneUsageEnum USE_RIGHT_LANE
Use right lane.
-
USE_THROUGH_TRAFFIC_LANES
public static final LaneUsageEnum USE_THROUGH_TRAFFIC_LANES
Use through traffic lanes.
-
OTHER
public static final LaneUsageEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static LaneUsageEnum[] 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 (LaneUsageEnum c : LaneUsageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LaneUsageEnum 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 LaneUsageEnum fromValue(String v)
-
-