Enum ObstructionTypeEnum
- java.lang.Object
-
- java.lang.Enum<ObstructionTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_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="damagedCrashBarrier"/> <enumeration value="fallingIce"/> <enumeration value="fallingLightIceOrSnow"/> <enumeration value="highSpeedChase"/> <enumeration value="houseFire"/> <enumeration value="incident"/> <enumeration value="industrialAccident"/> <enumeration value="movingHazardsOnTheRoad"/> <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
Enum Constants Enum Constant Description AIR_CRASHAn air crash adjacent to the roadway which may cause traffic disruption.CHILDREN_ON_ROADWAYChildren on the roadway which may cause traffic disruption.CLEARANCE_WORKClearance work associated with an earlier traffic problem which may cause traffic disruption.CRANE_OPERATINGA crane is operating either on or adjacent to the road which may cause an obstruction to traffic.CYCLISTS_ON_ROADWAYCyclists on the roadway which may cause traffic disruption.DAMAGED_CRASH_BARRIERDamaged crash barrier which may cause traffic disruption.FALLING_ICEFalling ice off trees, powerlines or structures which may cause traffic disruption.FALLING_LIGHT_ICE_OR_SNOWFalling light ice or snow off trees, powerlines or structures which may cause traffic disruption.HIGH_SPEED_CHASEAuthorised and unauthorised vehicles are travelling at high speeds along the roadway.HOUSE_FIREHouse fire(s) near the road way resulting in smoke and driver distraction which may cause traffic disruption.INCIDENTIncidents are chance occurrences involving vehicles from the traffic stream, which could present potential hazards to road users.INDUSTRIAL_ACCIDENTThe road is obstructed or partially obstructed due to the output or outcome of an industrial accident.MOVING_HAZARDS_ON_THE_ROADUnspecified moving hazard(s) on the road which may cause traffic disruption.OBJECT_ON_THE_ROADThe road may be obstructed or traffic hindered due to objects laying on the roadway.OBJECTS_FALLING_FROM_MOVING_VEHICLEObjects falling from moving vehicles which are presenting a hazard to other vehicles.OBSTRUCTION_ON_THE_ROADUnspecified obstruction on the roadway which may cause traffic disruption.OTHEROther than as defined in this enumeration.PEOPLE_ON_ROADWAYPeople on the roadway which may cause traffic disruption.RAIL_CRASHA rail crash adjacent to the roadway which may cause traffic disruption.RECKLESS_DRIVERA vehicle being driven without due care and attention is causing a harzard to other vehicles.RESCUE_AND_RECOVERY_WORKWork is being undertaken by emergency services which may present a hazard to road users.SEVERE_FROST_DAMAGED_ROADWAYSevere frost damage to the roadway causing an obstruction to traffic.SHED_LOADSpillage of transported goods on the roadway which may cause traffic disruption.SNOW_AND_ICE_DEBRISSnow and ice debris on the roadway which may present a hazard to road users.SPILLAGE_OCCURRING_FROM_MOVING_VEHICLESubstances are spilling out from a moving vehicle which is presenting a hazard to other road users.SPILLAGE_ON_THE_ROADIncludes all situations where a spillage has occurred on the roadway due to an earlier incident.UNPROTECTED_ACCIDENT_AREAAn accident area which has not been protected and may present a hazard to road users.
-
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
An air crash adjacent to the roadway which may cause traffic disruption.
-
CHILDREN_ON_ROADWAY
public static final ObstructionTypeEnum CHILDREN_ON_ROADWAY
Children on the roadway which may cause traffic disruption.
-
CLEARANCE_WORK
public static final ObstructionTypeEnum CLEARANCE_WORK
Clearance work associated with an earlier traffic problem which may cause traffic disruption.
-
CRANE_OPERATING
public static final ObstructionTypeEnum CRANE_OPERATING
A crane is operating either on or adjacent to the road which may cause an obstruction to traffic.
-
CYCLISTS_ON_ROADWAY
public static final ObstructionTypeEnum CYCLISTS_ON_ROADWAY
Cyclists on the roadway which may cause traffic disruption.
-
DAMAGED_CRASH_BARRIER
public static final ObstructionTypeEnum DAMAGED_CRASH_BARRIER
Damaged crash barrier which may cause traffic disruption.
-
FALLING_ICE
public static final ObstructionTypeEnum FALLING_ICE
Falling ice off trees, powerlines or structures which may cause traffic disruption.
-
FALLING_LIGHT_ICE_OR_SNOW
public static final ObstructionTypeEnum FALLING_LIGHT_ICE_OR_SNOW
Falling light ice or snow off trees, powerlines or structures which may cause traffic disruption.
-
HIGH_SPEED_CHASE
public static final ObstructionTypeEnum HIGH_SPEED_CHASE
Authorised and unauthorised vehicles are travelling at high speeds along the roadway. This may present a hazard to other vehicles.
-
HOUSE_FIRE
public static final ObstructionTypeEnum HOUSE_FIRE
House fire(s) near the road way resulting in smoke and driver distraction which may cause traffic disruption.
-
INCIDENT
public static final ObstructionTypeEnum INCIDENT
Incidents are chance occurrences involving vehicles from the traffic stream, which could present potential hazards to road users. This item excludes accidents.
-
INDUSTRIAL_ACCIDENT
public static final ObstructionTypeEnum INDUSTRIAL_ACCIDENT
The road is obstructed or partially obstructed due to the output or outcome of an industrial accident.
-
MOVING_HAZARDS_ON_THE_ROAD
public static final ObstructionTypeEnum MOVING_HAZARDS_ON_THE_ROAD
Unspecified moving hazard(s) on the road which may cause traffic disruption.
-
OBJECT_ON_THE_ROAD
public static final ObstructionTypeEnum OBJECT_ON_THE_ROAD
The road may be obstructed or traffic hindered due to objects laying on the roadway.
-
OBJECTS_FALLING_FROM_MOVING_VEHICLE
public static final ObstructionTypeEnum OBJECTS_FALLING_FROM_MOVING_VEHICLE
Objects falling from moving vehicles which are presenting a hazard to other vehicles.
-
OBSTRUCTION_ON_THE_ROAD
public static final ObstructionTypeEnum OBSTRUCTION_ON_THE_ROAD
Unspecified obstruction on the roadway which may cause traffic disruption.
-
PEOPLE_ON_ROADWAY
public static final ObstructionTypeEnum PEOPLE_ON_ROADWAY
People on the roadway which may cause traffic disruption.
-
RAIL_CRASH
public static final ObstructionTypeEnum RAIL_CRASH
A rail crash adjacent to the roadway which may cause traffic disruption.
-
RECKLESS_DRIVER
public static final ObstructionTypeEnum RECKLESS_DRIVER
A vehicle being driven without due care and attention is causing a harzard to other vehicles.
-
RESCUE_AND_RECOVERY_WORK
public static final ObstructionTypeEnum RESCUE_AND_RECOVERY_WORK
Work is being undertaken by emergency services which may present a hazard to road users.
-
SEVERE_FROST_DAMAGED_ROADWAY
public static final ObstructionTypeEnum SEVERE_FROST_DAMAGED_ROADWAY
Severe frost damage to the roadway causing an obstruction to traffic.
-
SHED_LOAD
public static final ObstructionTypeEnum SHED_LOAD
Spillage of transported goods on the roadway which may cause traffic disruption.
-
SNOW_AND_ICE_DEBRIS
public static final ObstructionTypeEnum SNOW_AND_ICE_DEBRIS
Snow and ice debris on the roadway which may present a hazard to road users.
-
SPILLAGE_OCCURRING_FROM_MOVING_VEHICLE
public static final ObstructionTypeEnum SPILLAGE_OCCURRING_FROM_MOVING_VEHICLE
Substances are spilling out from a moving vehicle which is presenting a hazard to other road users.
-
SPILLAGE_ON_THE_ROAD
public static final ObstructionTypeEnum SPILLAGE_ON_THE_ROAD
Includes all situations where a spillage has occurred on the roadway due to an earlier incident.
-
UNPROTECTED_ACCIDENT_AREA
public static final ObstructionTypeEnum UNPROTECTED_ACCIDENT_AREA
An accident area which has not been protected and may present a hazard to road users.
-
OTHER
public static final ObstructionTypeEnum OTHER
Other than as defined in this enumeration.
-
-
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)
-
-