Enum VehicleTypeEnum
- java.lang.Object
-
- java.lang.Enum<VehicleTypeEnum>
-
- eu.datex2.siri13.schema._1_0._1_0.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 Summary
Enum Constants Enum Constant Description ANY_VEHICLEVehicle of any type.ARTICULATED_VEHICLEArticulated vehicle.BUSBus.CARCar.CAR_OR_LIGHT_VEHICLECar or light vehicle.CAR_WITH_CARAVANCar towing a caravan.CAR_WITH_TRAILERCar towing a trailer.FOUR_WHEEL_DRIVEFour wheel drive vehicle.GOODS_VEHICLEGoods vehicle.HEAVY_LORRYHeavy lorry.HEAVY_VEHICLEHeavy vehicle.HIGH_SIDED_VEHICLEHigh sided vehicle.LIGHT_VEHICLELight vehicle.LORRYLorry of any type.MOTORCYCLEMotorcycle.OTHEROther than as defined in this enumeration.TWO_WHEELED_VEHICLETwo wheeled vehicle of unspecified type.VANVan.VEHICLE_WITH_CARAVANVehicle (of unspecified type) towing a caravan.VEHICLE_WITH_CATALYTIC_CONVERTERVehicle with catalytic converter.VEHICLE_WITH_TRAILERVehicle (of unspecified type) towing a trailer.VEHICLE_WITHOUT_CATALYTIC_CONVERTERVehicle without catalytic converter.WITH_EVEN_NUMBERED_REGISTRATION_PLATESVehicle with even numbered registration plate.WITH_ODD_NUMBERED_REGISTRATION_PLATESVehicle with odd numbered registration plate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VehicleTypeEnumfromValue(String v)Stringvalue()static VehicleTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static VehicleTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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.
-
BUS
public static final VehicleTypeEnum BUS
Bus.
-
CAR
public static final VehicleTypeEnum CAR
Car.
-
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.
-
LORRY
public static final VehicleTypeEnum LORRY
Lorry of any type.
-
MOTORCYCLE
public static final VehicleTypeEnum MOTORCYCLE
Motorcycle.
-
TWO_WHEELED_VEHICLE
public static final VehicleTypeEnum TWO_WHEELED_VEHICLE
Two wheeled vehicle of unspecified type.
-
VAN
public static final VehicleTypeEnum VAN
Van.
-
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 nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static VehicleTypeEnum fromValue(String v)
-
-