Enum AccidentTypeEnum

  • All Implemented Interfaces:
    Serializable, Comparable<AccidentTypeEnum>

    public enum AccidentTypeEnum
    extends Enum<AccidentTypeEnum>

    Java class for AccidentTypeEnum.

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

     <simpleType name="AccidentTypeEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="accident"/>
         <enumeration value="accidentInvestigationWork"/>
         <enumeration value="accidentInvolvingBicycles"/>
         <enumeration value="accidentInvolvingBuses"/>
         <enumeration value="accidentInvolvingHazardousMaterials"/>
         <enumeration value="accidentInvolvingHeavyLorries"/>
         <enumeration value="accidentInvolvingMopeds"/>
         <enumeration value="accidentInvolvingMotorcycles"/>
         <enumeration value="accidentInvolvingTrain"/>
         <enumeration value="chemicalSpillageAccident"/>
         <enumeration value="collision"/>
         <enumeration value="collisionWithAnimal"/>
         <enumeration value="collisionWithObstruction"/>
         <enumeration value="collisionWithPerson"/>
         <enumeration value="earlierAccident"/>
         <enumeration value="fuelSpillageAccident"/>
         <enumeration value="headOnCollision"/>
         <enumeration value="headOnOrSideCollision"/>
         <enumeration value="jackknifedArticulatedLorry"/>
         <enumeration value="jackknifedCaravan"/>
         <enumeration value="jackknifedTrailer"/>
         <enumeration value="multipleVehicleCollision"/>
         <enumeration value="multivehicleAccident"/>
         <enumeration value="oilSpillageAccident"/>
         <enumeration value="overturnedHeavyLorry"/>
         <enumeration value="overturnedTrailer"/>
         <enumeration value="overturnedVehicle"/>
         <enumeration value="rearCollision"/>
         <enumeration value="secondaryAccident"/>
         <enumeration value="seriousAccident"/>
         <enumeration value="sideCollision"/>
         <enumeration value="vehicleOffRoad"/>
         <enumeration value="vehicleSpunAround"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • ACCIDENT

        public static final AccidentTypeEnum ACCIDENT
        Accidents are situations in which one or more vehicles lose control and do not recover. They include collisions between vehicle(s) or other road user(s), between vehicle(s) and fixed obstacle(s), or they result from a vehicle running off the road.
      • ACCIDENT_INVESTIGATION_WORK

        public static final AccidentTypeEnum ACCIDENT_INVESTIGATION_WORK
        Authorised investigation work connected to an earlier reported accident that may disrupt traffic.
      • ACCIDENT_INVOLVING_BICYCLES

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_BICYCLES
        Includes all accidents involving at least one bicycle.
      • ACCIDENT_INVOLVING_BUSES

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_BUSES
        Includes all accidents involving at least one passenger vehicle.
      • ACCIDENT_INVOLVING_HAZARDOUS_MATERIALS

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_HAZARDOUS_MATERIALS
        Includes all accidents involving at least one vehicle believed to be carrying materials, which could present an additional hazard to road users.
      • ACCIDENT_INVOLVING_HEAVY_LORRIES

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_HEAVY_LORRIES
        Includes all accidents involving at least one heavy goods vehicle.
      • ACCIDENT_INVOLVING_MOPEDS

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_MOPEDS
        Includes all accidents involving at least one moped.
      • ACCIDENT_INVOLVING_MOTORCYCLES

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_MOTORCYCLES
        Includes all accidents involving at least one motorcycle.
      • ACCIDENT_INVOLVING_TRAIN

        public static final AccidentTypeEnum ACCIDENT_INVOLVING_TRAIN
        Includes all accidents involving collision with a train.
      • CHEMICAL_SPILLAGE_ACCIDENT

        public static final AccidentTypeEnum CHEMICAL_SPILLAGE_ACCIDENT
        Includes all situations resulting in a spillage of chemicals on the carriageway.
      • COLLISION

        public static final AccidentTypeEnum COLLISION
        Collision of vehicle with another object of unspecified type.
      • COLLISION_WITH_ANIMAL

        public static final AccidentTypeEnum COLLISION_WITH_ANIMAL
        Collision of vehicle with one or more animals.
      • COLLISION_WITH_OBSTRUCTION

        public static final AccidentTypeEnum COLLISION_WITH_OBSTRUCTION
        Collision of vehicle with an object of a stationary nature.
      • COLLISION_WITH_PERSON

        public static final AccidentTypeEnum COLLISION_WITH_PERSON
        Collision of vehicle with one or more pedestrians.
      • EARLIER_ACCIDENT

        public static final AccidentTypeEnum EARLIER_ACCIDENT
        An earlier reported accident that is causing disruption to traffic or is resulting in further accidents.
      • FUEL_SPILLAGE_ACCIDENT

        public static final AccidentTypeEnum FUEL_SPILLAGE_ACCIDENT
        Includes all situations resulting in a spillage of fuel on the carriageway.
      • HEAD_ON_COLLISION

        public static final AccidentTypeEnum HEAD_ON_COLLISION
        Collision of vehicle with another vehicle head on.
      • HEAD_ON_OR_SIDE_COLLISION

        public static final AccidentTypeEnum HEAD_ON_OR_SIDE_COLLISION
        Collision of vehicle with another vehicle either head on or sideways.
      • JACKKNIFED_ARTICULATED_LORRY

        public static final AccidentTypeEnum JACKKNIFED_ARTICULATED_LORRY
        Includes all situations resulting in a heavy goods vehicle folding together in an accidental skidding movement on the carriageway.
      • JACKKNIFED_CARAVAN

        public static final AccidentTypeEnum JACKKNIFED_CARAVAN
        Includes all situations resulting in a vehicle and caravan folding together in an accidental skidding movement on the carriageway.
      • JACKKNIFED_TRAILER

        public static final AccidentTypeEnum JACKKNIFED_TRAILER
        Includes all situations resulting in a vehicle and trailer folding together in an accidental skidding movement on the carriageway.
      • MULTIPLE_VEHICLE_COLLISION

        public static final AccidentTypeEnum MULTIPLE_VEHICLE_COLLISION
        Multiple vehicles involved in a collision.
      • MULTIVEHICLE_ACCIDENT

        public static final AccidentTypeEnum MULTIVEHICLE_ACCIDENT
        Includes all accidents involving three or more vehicles.
      • OIL_SPILLAGE_ACCIDENT

        public static final AccidentTypeEnum OIL_SPILLAGE_ACCIDENT
        Includes all situations resulting in a spillage of oil on the carriageway.
      • OVERTURNED_HEAVY_LORRY

        public static final AccidentTypeEnum OVERTURNED_HEAVY_LORRY
        Includes all situations resulting in the overturning of a heavy goods vehicle on the carriageway.
      • OVERTURNED_TRAILER

        public static final AccidentTypeEnum OVERTURNED_TRAILER
        Includes all situations resulting in the overturning of a trailer.
      • OVERTURNED_VEHICLE

        public static final AccidentTypeEnum OVERTURNED_VEHICLE
        Includes all situations resulting in the overturning of a vehicle (of unspecified type) on the carriageway.
      • REAR_COLLISION

        public static final AccidentTypeEnum REAR_COLLISION
        Includes all accidents where one or more vehicles have collided with the rear of one or more other vehicles.
      • SECONDARY_ACCIDENT

        public static final AccidentTypeEnum SECONDARY_ACCIDENT
        Includes all situations resulting from vehicles avoiding or being distracted by earlier accidents.
      • SERIOUS_ACCIDENT

        public static final AccidentTypeEnum SERIOUS_ACCIDENT
        Includes all accidents believed to involve fatality or injury expected to require overnight hospitalisation.
      • SIDE_COLLISION

        public static final AccidentTypeEnum SIDE_COLLISION
        Includes all accidents where one or more vehicles have collided with the side of one or more other vehicles.
      • VEHICLE_OFF_ROAD

        public static final AccidentTypeEnum VEHICLE_OFF_ROAD
        Includes all accidents where one or more vehicles have left the roadway.
      • VEHICLE_SPUN_AROUND

        public static final AccidentTypeEnum VEHICLE_SPUN_AROUND
        Includes all accidents where a vehicle has skidded and has come to rest not facing its intended line of travel.
      • OTHER

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

      • values

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

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