Enum ObstructionTypeEnum
- java.lang.Object
-
- java.lang.Enum<ObstructionTypeEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.ObstructionTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ObstructionTypeEnum>
public enum ObstructionTypeEnum extends Enum<ObstructionTypeEnum>
Java class for ObstructionTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ObstructionTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="airCrash"/> <enumeration value="childrenOnRoadway"/> <enumeration value="clearanceWork"/> <enumeration value="craneOperating"/> <enumeration value="cyclistsOnRoadway"/> <enumeration value="debris"/> <enumeration value="explosion"/> <enumeration value="explosionHazard"/> <enumeration value="hazardsOnTheRoad"/> <enumeration value="highSpeedChase"/> <enumeration value="houseFire"/> <enumeration value="incident"/> <enumeration value="industrialAccident"/> <enumeration value="objectOnTheRoad"/> <enumeration value="objectsFallingFromMovingVehicle"/> <enumeration value="obstructionOnTheRoad"/> <enumeration value="peopleOnRoadway"/> <enumeration value="railCrash"/> <enumeration value="recklessDriver"/> <enumeration value="rescueAndRecoveryWork"/> <enumeration value="severeFrostDamagedRoadway"/> <enumeration value="shedLoad"/> <enumeration value="snowAndIceDebris"/> <enumeration value="spillageOccurringFromMovingVehicle"/> <enumeration value="spillageOnTheRoad"/> <enumeration value="unprotectedAccidentArea"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObstructionTypeEnumfromValue(String v)Stringvalue()static ObstructionTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ObstructionTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AIR_CRASH
public static final ObstructionTypeEnum AIR_CRASH
-
CHILDREN_ON_ROADWAY
public static final ObstructionTypeEnum CHILDREN_ON_ROADWAY
-
CLEARANCE_WORK
public static final ObstructionTypeEnum CLEARANCE_WORK
-
CRANE_OPERATING
public static final ObstructionTypeEnum CRANE_OPERATING
-
CYCLISTS_ON_ROADWAY
public static final ObstructionTypeEnum CYCLISTS_ON_ROADWAY
-
DEBRIS
public static final ObstructionTypeEnum DEBRIS
-
EXPLOSION
public static final ObstructionTypeEnum EXPLOSION
-
EXPLOSION_HAZARD
public static final ObstructionTypeEnum EXPLOSION_HAZARD
-
HAZARDS_ON_THE_ROAD
public static final ObstructionTypeEnum HAZARDS_ON_THE_ROAD
-
HIGH_SPEED_CHASE
public static final ObstructionTypeEnum HIGH_SPEED_CHASE
-
HOUSE_FIRE
public static final ObstructionTypeEnum HOUSE_FIRE
-
INCIDENT
public static final ObstructionTypeEnum INCIDENT
-
INDUSTRIAL_ACCIDENT
public static final ObstructionTypeEnum INDUSTRIAL_ACCIDENT
-
OBJECT_ON_THE_ROAD
public static final ObstructionTypeEnum OBJECT_ON_THE_ROAD
-
OBJECTS_FALLING_FROM_MOVING_VEHICLE
public static final ObstructionTypeEnum OBJECTS_FALLING_FROM_MOVING_VEHICLE
-
OBSTRUCTION_ON_THE_ROAD
public static final ObstructionTypeEnum OBSTRUCTION_ON_THE_ROAD
-
PEOPLE_ON_ROADWAY
public static final ObstructionTypeEnum PEOPLE_ON_ROADWAY
-
RAIL_CRASH
public static final ObstructionTypeEnum RAIL_CRASH
-
RECKLESS_DRIVER
public static final ObstructionTypeEnum RECKLESS_DRIVER
-
RESCUE_AND_RECOVERY_WORK
public static final ObstructionTypeEnum RESCUE_AND_RECOVERY_WORK
-
SEVERE_FROST_DAMAGED_ROADWAY
public static final ObstructionTypeEnum SEVERE_FROST_DAMAGED_ROADWAY
-
SHED_LOAD
public static final ObstructionTypeEnum SHED_LOAD
-
SNOW_AND_ICE_DEBRIS
public static final ObstructionTypeEnum SNOW_AND_ICE_DEBRIS
-
SPILLAGE_OCCURRING_FROM_MOVING_VEHICLE
public static final ObstructionTypeEnum SPILLAGE_OCCURRING_FROM_MOVING_VEHICLE
-
SPILLAGE_ON_THE_ROAD
public static final ObstructionTypeEnum SPILLAGE_ON_THE_ROAD
-
UNPROTECTED_ACCIDENT_AREA
public static final ObstructionTypeEnum UNPROTECTED_ACCIDENT_AREA
-
OTHER
public static final ObstructionTypeEnum OTHER
-
-
Method Detail
-
values
public static ObstructionTypeEnum[] 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 (ObstructionTypeEnum c : ObstructionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObstructionTypeEnum 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 ObstructionTypeEnum fromValue(String v)
-
-