Enum TrafficControlEquipmentTypeEnum
- java.lang.Object
-
- java.lang.Enum<TrafficControlEquipmentTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.TrafficControlEquipmentTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TrafficControlEquipmentTypeEnum>
public enum TrafficControlEquipmentTypeEnum extends Enum<TrafficControlEquipmentTypeEnum>
Java class for TrafficControlEquipmentTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TrafficControlEquipmentTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="laneControlSigns"/> <enumeration value="rampControls"/> <enumeration value="speedControlSigns"/> <enumeration value="tollGates"/> <enumeration value="trafficLightSets"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LANE_CONTROL_SIGNSSigns used to control lane usage (e.g.RAMP_CONTROLSRamp control equipment.SPEED_CONTROL_SIGNSSigns used to control traffic speed.TOLL_GATESToll gates.TRAFFIC_LIGHT_SETSSets of traffic lights.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TrafficControlEquipmentTypeEnumfromValue(String v)Stringvalue()static TrafficControlEquipmentTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TrafficControlEquipmentTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANE_CONTROL_SIGNS
public static final TrafficControlEquipmentTypeEnum LANE_CONTROL_SIGNS
Signs used to control lane usage (e.g. in tidal flow systems or hard shoulder running).
-
RAMP_CONTROLS
public static final TrafficControlEquipmentTypeEnum RAMP_CONTROLS
Ramp control equipment.
-
SPEED_CONTROL_SIGNS
public static final TrafficControlEquipmentTypeEnum SPEED_CONTROL_SIGNS
Signs used to control traffic speed.
-
TOLL_GATES
public static final TrafficControlEquipmentTypeEnum TOLL_GATES
Toll gates.
-
TRAFFIC_LIGHT_SETS
public static final TrafficControlEquipmentTypeEnum TRAFFIC_LIGHT_SETS
Sets of traffic lights.
-
-
Method Detail
-
values
public static TrafficControlEquipmentTypeEnum[] 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 (TrafficControlEquipmentTypeEnum c : TrafficControlEquipmentTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrafficControlEquipmentTypeEnum 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 TrafficControlEquipmentTypeEnum fromValue(String v)
-
-