Enum InfrastructureDamageTypeEnum
- java.lang.Object
-
- java.lang.Enum<InfrastructureDamageTypeEnum>
-
- eu.datex2.siri21.schema._2_0rc1._2_0.InfrastructureDamageTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<InfrastructureDamageTypeEnum>
public enum InfrastructureDamageTypeEnum extends Enum<InfrastructureDamageTypeEnum>
Java class for InfrastructureDamageTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InfrastructureDamageTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="burstPipe"/> <enumeration value="burstWaterMain"/> <enumeration value="collapsedSewer"/> <enumeration value="damagedBridge"/> <enumeration value="damagedCrashBarrier"/> <enumeration value="damagedFlyover"/> <enumeration value="damagedGallery"/> <enumeration value="damagedGantry"/> <enumeration value="damagedRoadSurface"/> <enumeration value="damagedTunnel"/> <enumeration value="damagedViaduct"/> <enumeration value="fallenPowerCables"/> <enumeration value="gasLeak"/> <enumeration value="weakBridge"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BURST_PIPEBURST_WATER_MAINCOLLAPSED_SEWERDAMAGED_BRIDGEDAMAGED_CRASH_BARRIERDAMAGED_FLYOVERDAMAGED_GALLERYDAMAGED_GANTRYDAMAGED_ROAD_SURFACEDAMAGED_TUNNELDAMAGED_VIADUCTFALLEN_POWER_CABLESGAS_LEAKOTHERWEAK_BRIDGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InfrastructureDamageTypeEnumfromValue(String v)Stringvalue()static InfrastructureDamageTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static InfrastructureDamageTypeEnum[]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 InfrastructureDamageTypeEnum BURST_PIPE
-
BURST_WATER_MAIN
public static final InfrastructureDamageTypeEnum BURST_WATER_MAIN
-
COLLAPSED_SEWER
public static final InfrastructureDamageTypeEnum COLLAPSED_SEWER
-
DAMAGED_BRIDGE
public static final InfrastructureDamageTypeEnum DAMAGED_BRIDGE
-
DAMAGED_CRASH_BARRIER
public static final InfrastructureDamageTypeEnum DAMAGED_CRASH_BARRIER
-
DAMAGED_FLYOVER
public static final InfrastructureDamageTypeEnum DAMAGED_FLYOVER
-
DAMAGED_GALLERY
public static final InfrastructureDamageTypeEnum DAMAGED_GALLERY
-
DAMAGED_GANTRY
public static final InfrastructureDamageTypeEnum DAMAGED_GANTRY
-
DAMAGED_ROAD_SURFACE
public static final InfrastructureDamageTypeEnum DAMAGED_ROAD_SURFACE
-
DAMAGED_TUNNEL
public static final InfrastructureDamageTypeEnum DAMAGED_TUNNEL
-
DAMAGED_VIADUCT
public static final InfrastructureDamageTypeEnum DAMAGED_VIADUCT
-
FALLEN_POWER_CABLES
public static final InfrastructureDamageTypeEnum FALLEN_POWER_CABLES
-
GAS_LEAK
public static final InfrastructureDamageTypeEnum GAS_LEAK
-
WEAK_BRIDGE
public static final InfrastructureDamageTypeEnum WEAK_BRIDGE
-
OTHER
public static final InfrastructureDamageTypeEnum OTHER
-
-
Method Detail
-
values
public static InfrastructureDamageTypeEnum[] 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 (InfrastructureDamageTypeEnum c : InfrastructureDamageTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfrastructureDamageTypeEnum 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 InfrastructureDamageTypeEnum fromValue(String v)
-
-