Enum TrafficControlTypeEnum
- java.lang.Object
-
- java.lang.Enum<TrafficControlTypeEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.TrafficControlTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TrafficControlTypeEnum>
public enum TrafficControlTypeEnum extends Enum<TrafficControlTypeEnum>
Java class for TrafficControlTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrafficControlTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="activeSpeedControl"/> <enumeration value="hardShoulderRunning"/> <enumeration value="operatorImposedLimitOrRestriction"/> <enumeration value="rampMeteringActive"/> <enumeration value="rerouting"/> <enumeration value="tollGatesOpen"/> <enumeration value="vehicleStorageActive"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_SPEED_CONTROLAutomatic speed control measures are in place at the specified location, whereby mandatory speed limits are set based on the output from traffic sensing equipment.HARD_SHOULDER_RUNNINGActive traffic management is operating whereby hardshoulder running is permitted.OPERATOR_IMPOSED_LIMIT_OR_RESTRICTIONOperator imposed temporary limit of some type.RAMP_METERING_ACTIVERamp metering is now active at the specified location.REROUTINGRerouting of traffic is now active at the specified location.TOLL_GATES_OPENToll gates are open with no fee collection at the specified location.VEHICLE_STORAGE_ACTIVEVehicles are being stored on the roadway and/or at a rest area or service area at the specified location.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficControlTypeEnumfromValue(String v)Stringvalue()static TrafficControlTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TrafficControlTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_SPEED_CONTROL
public static final TrafficControlTypeEnum ACTIVE_SPEED_CONTROL
Automatic speed control measures are in place at the specified location, whereby mandatory speed limits are set based on the output from traffic sensing equipment.
-
HARD_SHOULDER_RUNNING
public static final TrafficControlTypeEnum HARD_SHOULDER_RUNNING
Active traffic management is operating whereby hardshoulder running is permitted.
-
OPERATOR_IMPOSED_LIMIT_OR_RESTRICTION
public static final TrafficControlTypeEnum OPERATOR_IMPOSED_LIMIT_OR_RESTRICTION
Operator imposed temporary limit of some type.
-
RAMP_METERING_ACTIVE
public static final TrafficControlTypeEnum RAMP_METERING_ACTIVE
Ramp metering is now active at the specified location.
-
REROUTING
public static final TrafficControlTypeEnum REROUTING
Rerouting of traffic is now active at the specified location.
-
TOLL_GATES_OPEN
public static final TrafficControlTypeEnum TOLL_GATES_OPEN
Toll gates are open with no fee collection at the specified location.
-
VEHICLE_STORAGE_ACTIVE
public static final TrafficControlTypeEnum VEHICLE_STORAGE_ACTIVE
Vehicles are being stored on the roadway and/or at a rest area or service area at the specified location.
-
-
Method Detail
-
values
public static TrafficControlTypeEnum[] 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 (TrafficControlTypeEnum c : TrafficControlTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrafficControlTypeEnum 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 TrafficControlTypeEnum fromValue(String v)
-
-