Enum WarningAdviceEnum

  • All Implemented Interfaces:
    Serializable, Comparable<WarningAdviceEnum>

    public enum WarningAdviceEnum
    extends Enum<WarningAdviceEnum>

    Java class for WarningAdviceEnum.

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

     <simpleType name="WarningAdviceEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="aquaplaningRisk"/>
         <enumeration value="danger"/>
         <enumeration value="dangerOfExplosion"/>
         <enumeration value="dangerOfFire"/>
         <enumeration value="emergencyVehiclesAtScene"/>
         <enumeration value="extraPolicePatrolsInOperation"/>
         <enumeration value="firemenDirectingTraffic"/>
         <enumeration value="helicopterRescueInProgress"/>
         <enumeration value="increasedRiskOfAccident"/>
         <enumeration value="lookOutForFlagman"/>
         <enumeration value="pilotCarInOperation"/>
         <enumeration value="policeDirectingTraffic"/>
         <enumeration value="policeInAttendance"/>
         <enumeration value="radiationHazard"/>
         <enumeration value="repairsInProgress"/>
         <enumeration value="rescueAndRecoveryWorkInProgress"/>
         <enumeration value="severalAccidentsHaveTakenPlace"/>
         <enumeration value="skidRisk"/>
         <enumeration value="slipperyPavements"/>
         <enumeration value="surfaceWaterHazard"/>
         <enumeration value="toxicLeak"/>
         <enumeration value="trafficBeingDirectedAroundAccidentArea"/>
         <enumeration value="trafficWardensDirectingTraffic"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • AQUAPLANING_RISK

        public static final WarningAdviceEnum AQUAPLANING_RISK
        Water lying on the road surface is producing aquaplaning conditions.
      • DANGER_OF_EXPLOSION

        public static final WarningAdviceEnum DANGER_OF_EXPLOSION
        Danger of explosion.
      • DANGER_OF_FIRE

        public static final WarningAdviceEnum DANGER_OF_FIRE
        Danger of fire.
      • EMERGENCY_VEHICLES_AT_SCENE

        public static final WarningAdviceEnum EMERGENCY_VEHICLES_AT_SCENE
        Emergency vehicles are at the accident scene.
      • EXTRA_POLICE_PATROLS_IN_OPERATION

        public static final WarningAdviceEnum EXTRA_POLICE_PATROLS_IN_OPERATION
        Extra police patrols are in operation.
      • FIREMEN_DIRECTING_TRAFFIC

        public static final WarningAdviceEnum FIREMEN_DIRECTING_TRAFFIC
        Firemen are directing traffic.
      • HELICOPTER_RESCUE_IN_PROGRESS

        public static final WarningAdviceEnum HELICOPTER_RESCUE_IN_PROGRESS
        Helicopter rescue is in progress.
      • INCREASED_RISK_OF_ACCIDENT

        public static final WarningAdviceEnum INCREASED_RISK_OF_ACCIDENT
        There is an increased risk of accidents.
      • LOOK_OUT_FOR_FLAGMAN

        public static final WarningAdviceEnum LOOK_OUT_FOR_FLAGMAN
        Look out for flagman who is controlling traffic.
      • PILOT_CAR_IN_OPERATION

        public static final WarningAdviceEnum PILOT_CAR_IN_OPERATION
        Pilot car is in operation.
      • POLICE_DIRECTING_TRAFFIC

        public static final WarningAdviceEnum POLICE_DIRECTING_TRAFFIC
        Police are directing traffic.
      • POLICE_IN_ATTENDANCE

        public static final WarningAdviceEnum POLICE_IN_ATTENDANCE
        Police are in attendance.
      • RADIATION_HAZARD

        public static final WarningAdviceEnum RADIATION_HAZARD
        There is a radiation hazard.
      • REPAIRS_IN_PROGRESS

        public static final WarningAdviceEnum REPAIRS_IN_PROGRESS
        Repairs are in progress.
      • RESCUE_AND_RECOVERY_WORK_IN_PROGRESS

        public static final WarningAdviceEnum RESCUE_AND_RECOVERY_WORK_IN_PROGRESS
        Rescue and recovery work is in progress.
      • SEVERAL_ACCIDENTS_HAVE_TAKEN_PLACE

        public static final WarningAdviceEnum SEVERAL_ACCIDENTS_HAVE_TAKEN_PLACE
        Several accidents have taken place.
      • SKID_RISK

        public static final WarningAdviceEnum SKID_RISK
        Increased risk of skidding.
      • SLIPPERY_PAVEMENTS

        public static final WarningAdviceEnum SLIPPERY_PAVEMENTS
        Increased risk of pedestrians slipping on the pavements.
      • SURFACE_WATER_HAZARD

        public static final WarningAdviceEnum SURFACE_WATER_HAZARD
        Water is resting on the roadway which provides an increased hazard to vehicles.
      • TOXIC_LEAK

        public static final WarningAdviceEnum TOXIC_LEAK
        There is a toxic leak.
      • TRAFFIC_BEING_DIRECTED_AROUND_ACCIDENT_AREA

        public static final WarningAdviceEnum TRAFFIC_BEING_DIRECTED_AROUND_ACCIDENT_AREA
        Traffic is being directed around the accident area.
      • TRAFFIC_WARDENS_DIRECTING_TRAFFIC

        public static final WarningAdviceEnum TRAFFIC_WARDENS_DIRECTING_TRAFFIC
        Traffic wardens are directing traffic.
      • OTHER

        public static final WarningAdviceEnum OTHER
        Other than as defined in this enumeration.
    • Method Detail

      • values

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

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