Enum EquipmentDamageTypeEnum
- java.lang.Object
-
- java.lang.Enum<EquipmentDamageTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.EquipmentDamageTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EquipmentDamageTypeEnum>
public enum EquipmentDamageTypeEnum extends Enum<EquipmentDamageTypeEnum>
Java class for EquipmentDamageTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EquipmentDamageTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="burstPipe"/> <enumeration value="burstWaterMain"/> <enumeration value="fallenPowerCables"/> <enumeration value="gasLeak"/> <enumeration value="roadInfrastructureDamage"/> <enumeration value="sewerCollapse"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BURST_PIPEThe road surface has sunken or collapsed in places due to burst pipes.BURST_WATER_MAINTraffic may be disrupted due to local flooding and/or subsidence because of a broken water main.FALLEN_POWER_CABLESThe road is obstructed or partially obstructed by one or more fallen power cables.GAS_LEAKTraffic may be disrupted due to an explosion hazard from gas escaping in or near the roadway.OTHEROther than as defined in this enumeration.ROAD_INFRASTRUCTURE_DAMAGEThe road infrastructure has been damaged.SEWER_COLLAPSEThe road surface has sunken or collapsed in places due to sewer failure.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EquipmentDamageTypeEnumfromValue(String v)Stringvalue()static EquipmentDamageTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EquipmentDamageTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BURST_PIPE
public static final EquipmentDamageTypeEnum BURST_PIPE
The road surface has sunken or collapsed in places due to burst pipes.
-
BURST_WATER_MAIN
public static final EquipmentDamageTypeEnum BURST_WATER_MAIN
Traffic may be disrupted due to local flooding and/or subsidence because of a broken water main.
-
FALLEN_POWER_CABLES
public static final EquipmentDamageTypeEnum FALLEN_POWER_CABLES
The road is obstructed or partially obstructed by one or more fallen power cables.
-
GAS_LEAK
public static final EquipmentDamageTypeEnum GAS_LEAK
Traffic may be disrupted due to an explosion hazard from gas escaping in or near the roadway.
-
ROAD_INFRASTRUCTURE_DAMAGE
public static final EquipmentDamageTypeEnum ROAD_INFRASTRUCTURE_DAMAGE
The road infrastructure has been damaged.
-
SEWER_COLLAPSE
public static final EquipmentDamageTypeEnum SEWER_COLLAPSE
The road surface has sunken or collapsed in places due to sewer failure.
-
OTHER
public static final EquipmentDamageTypeEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static EquipmentDamageTypeEnum[] 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 (EquipmentDamageTypeEnum c : EquipmentDamageTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EquipmentDamageTypeEnum 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 EquipmentDamageTypeEnum fromValue(String v)
-
-