Enum 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 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.
    • 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 name
        NullPointerException - if the argument is null
      • value

        public String value()