Enum NonWeatherRelatedRoadConditionTypeEnum
- java.lang.Object
-
- java.lang.Enum<NonWeatherRelatedRoadConditionTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.NonWeatherRelatedRoadConditionTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<NonWeatherRelatedRoadConditionTypeEnum>
public enum NonWeatherRelatedRoadConditionTypeEnum extends Enum<NonWeatherRelatedRoadConditionTypeEnum>
Java class for NonWeatherRelatedRoadConditionTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="NonWeatherRelatedRoadConditionTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="leavesOnRoad"/> <enumeration value="looseChippings"/> <enumeration value="looseSandOnRoad"/> <enumeration value="mudOnRoad"/> <enumeration value="oilOnRoad"/> <enumeration value="petrolOnRoadway"/> <enumeration value="roadSurfaceInPoorCondition"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEAVES_ON_ROADIncreased skid risk due to leaves on road.LOOSE_CHIPPINGSIncreased skid risk and injury risk due to loose chippings on road.LOOSE_SAND_ON_ROADIncreased skid risk due to loose sand on road.MUD_ON_ROADIncreased skid risk due to mud on road.OIL_ON_ROADIncreased skid risk due to oil on road.OTHEROther than as defined in this enumeration.PETROL_ON_ROADWAYIncreased skid risk due to fuel on road.ROAD_SURFACE_IN_POOR_CONDITIONThe road surface is damaged, severely rutted or potholed (i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NonWeatherRelatedRoadConditionTypeEnumfromValue(String v)Stringvalue()static NonWeatherRelatedRoadConditionTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static NonWeatherRelatedRoadConditionTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEAVES_ON_ROAD
public static final NonWeatherRelatedRoadConditionTypeEnum LEAVES_ON_ROAD
Increased skid risk due to leaves on road.
-
LOOSE_CHIPPINGS
public static final NonWeatherRelatedRoadConditionTypeEnum LOOSE_CHIPPINGS
Increased skid risk and injury risk due to loose chippings on road.
-
LOOSE_SAND_ON_ROAD
public static final NonWeatherRelatedRoadConditionTypeEnum LOOSE_SAND_ON_ROAD
Increased skid risk due to loose sand on road.
-
MUD_ON_ROAD
public static final NonWeatherRelatedRoadConditionTypeEnum MUD_ON_ROAD
Increased skid risk due to mud on road.
-
OIL_ON_ROAD
public static final NonWeatherRelatedRoadConditionTypeEnum OIL_ON_ROAD
Increased skid risk due to oil on road.
-
PETROL_ON_ROADWAY
public static final NonWeatherRelatedRoadConditionTypeEnum PETROL_ON_ROADWAY
Increased skid risk due to fuel on road.
-
ROAD_SURFACE_IN_POOR_CONDITION
public static final NonWeatherRelatedRoadConditionTypeEnum ROAD_SURFACE_IN_POOR_CONDITION
The road surface is damaged, severely rutted or potholed (i.e. it is in a poor state of repair).
-
OTHER
public static final NonWeatherRelatedRoadConditionTypeEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static NonWeatherRelatedRoadConditionTypeEnum[] 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 (NonWeatherRelatedRoadConditionTypeEnum c : NonWeatherRelatedRoadConditionTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NonWeatherRelatedRoadConditionTypeEnum 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 NonWeatherRelatedRoadConditionTypeEnum fromValue(String v)
-
-