Enum VehicleTypeEnum

  • All Implemented Interfaces:
    Serializable, Comparable<VehicleTypeEnum>

    public enum VehicleTypeEnum
    extends Enum<VehicleTypeEnum>

    Java class for VehicleTypeEnum.

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

     <simpleType name="VehicleTypeEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="anyVehicle"/>
         <enumeration value="articulatedVehicle"/>
         <enumeration value="bus"/>
         <enumeration value="car"/>
         <enumeration value="carOrLightVehicle"/>
         <enumeration value="carWithCaravan"/>
         <enumeration value="carWithTrailer"/>
         <enumeration value="fourWheelDrive"/>
         <enumeration value="goodsVehicle"/>
         <enumeration value="heavyLorry"/>
         <enumeration value="heavyVehicle"/>
         <enumeration value="highSidedVehicle"/>
         <enumeration value="lightVehicle"/>
         <enumeration value="lorry"/>
         <enumeration value="motorcycle"/>
         <enumeration value="twoWheeledVehicle"/>
         <enumeration value="van"/>
         <enumeration value="vehicleWithCatalyticConverter"/>
         <enumeration value="vehicleWithoutCatalyticConverter"/>
         <enumeration value="vehicleWithCaravan"/>
         <enumeration value="vehicleWithTrailer"/>
         <enumeration value="withEvenNumberedRegistrationPlates"/>
         <enumeration value="withOddNumberedRegistrationPlates"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • ANY_VEHICLE

        public static final VehicleTypeEnum ANY_VEHICLE
        Vehicle of any type.
      • ARTICULATED_VEHICLE

        public static final VehicleTypeEnum ARTICULATED_VEHICLE
        Articulated vehicle.
      • CAR_OR_LIGHT_VEHICLE

        public static final VehicleTypeEnum CAR_OR_LIGHT_VEHICLE
        Car or light vehicle.
      • CAR_WITH_CARAVAN

        public static final VehicleTypeEnum CAR_WITH_CARAVAN
        Car towing a caravan.
      • CAR_WITH_TRAILER

        public static final VehicleTypeEnum CAR_WITH_TRAILER
        Car towing a trailer.
      • FOUR_WHEEL_DRIVE

        public static final VehicleTypeEnum FOUR_WHEEL_DRIVE
        Four wheel drive vehicle.
      • GOODS_VEHICLE

        public static final VehicleTypeEnum GOODS_VEHICLE
        Goods vehicle.
      • HEAVY_LORRY

        public static final VehicleTypeEnum HEAVY_LORRY
        Heavy lorry.
      • HEAVY_VEHICLE

        public static final VehicleTypeEnum HEAVY_VEHICLE
        Heavy vehicle.
      • HIGH_SIDED_VEHICLE

        public static final VehicleTypeEnum HIGH_SIDED_VEHICLE
        High sided vehicle.
      • LIGHT_VEHICLE

        public static final VehicleTypeEnum LIGHT_VEHICLE
        Light vehicle.
      • TWO_WHEELED_VEHICLE

        public static final VehicleTypeEnum TWO_WHEELED_VEHICLE
        Two wheeled vehicle of unspecified type.
      • VEHICLE_WITH_CATALYTIC_CONVERTER

        public static final VehicleTypeEnum VEHICLE_WITH_CATALYTIC_CONVERTER
        Vehicle with catalytic converter.
      • VEHICLE_WITHOUT_CATALYTIC_CONVERTER

        public static final VehicleTypeEnum VEHICLE_WITHOUT_CATALYTIC_CONVERTER
        Vehicle without catalytic converter.
      • VEHICLE_WITH_CARAVAN

        public static final VehicleTypeEnum VEHICLE_WITH_CARAVAN
        Vehicle (of unspecified type) towing a caravan.
      • VEHICLE_WITH_TRAILER

        public static final VehicleTypeEnum VEHICLE_WITH_TRAILER
        Vehicle (of unspecified type) towing a trailer.
      • WITH_EVEN_NUMBERED_REGISTRATION_PLATES

        public static final VehicleTypeEnum WITH_EVEN_NUMBERED_REGISTRATION_PLATES
        Vehicle with even numbered registration plate.
      • WITH_ODD_NUMBERED_REGISTRATION_PLATES

        public static final VehicleTypeEnum WITH_ODD_NUMBERED_REGISTRATION_PLATES
        Vehicle with odd numbered registration plate.
      • OTHER

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

      • values

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

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