Enum CauseTypeEnum

  • All Implemented Interfaces:
    Serializable, Comparable<CauseTypeEnum>

    public enum CauseTypeEnum
    extends Enum<CauseTypeEnum>

    Java class for CauseTypeEnum.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="CauseTypeEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="accident"/>
         <enumeration value="congestion"/>
         <enumeration value="equipmentFailure"/>
         <enumeration value="infrastructureFailure"/>
         <enumeration value="obstruction"/>
         <enumeration value="poorWeather"/>
         <enumeration value="problemsAtBorderPost"/>
         <enumeration value="problemsAtCustomPost"/>
         <enumeration value="problemsOnLocalRoads"/>
         <enumeration value="roadsideEvent"/>
         <enumeration value="securityIncident"/>
         <enumeration value="terrorism"/>
         <enumeration value="vandalism"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • CONGESTION

        public static final CauseTypeEnum CONGESTION
        Traffic congestion.
      • EQUIPMENT_FAILURE

        public static final CauseTypeEnum EQUIPMENT_FAILURE
        Failure of roadside equipment.
      • INFRASTRUCTURE_FAILURE

        public static final CauseTypeEnum INFRASTRUCTURE_FAILURE
        Failure of road infrastructure.
      • OBSTRUCTION

        public static final CauseTypeEnum OBSTRUCTION
        Obstruction (of unspecified type) on the roadway.
      • POOR_WEATHER

        public static final CauseTypeEnum POOR_WEATHER
        Poor weather conditions.
      • PROBLEMS_AT_BORDER_POST

        public static final CauseTypeEnum PROBLEMS_AT_BORDER_POST
        Problems at the border crossing.
      • PROBLEMS_AT_CUSTOM_POST

        public static final CauseTypeEnum PROBLEMS_AT_CUSTOM_POST
        Problems at the customs post on the border.
      • PROBLEMS_ON_LOCAL_ROADS

        public static final CauseTypeEnum PROBLEMS_ON_LOCAL_ROADS
        Problems (of an unspecified nature) on the local roads.
      • ROADSIDE_EVENT

        public static final CauseTypeEnum ROADSIDE_EVENT
        A roadside event (of unspecified nature) whether planned or not.
      • SECURITY_INCIDENT

        public static final CauseTypeEnum SECURITY_INCIDENT
        A security incident.
      • TERRORISM

        public static final CauseTypeEnum TERRORISM
        A terrorist incident.
      • VANDALISM

        public static final CauseTypeEnum VANDALISM
        A vandalism incident.
    • Method Detail

      • values

        public static CauseTypeEnum[] 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 (CauseTypeEnum c : CauseTypeEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CauseTypeEnum 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()