Class Vehicle
- java.lang.Object
-
- eu.datex2.siri14.schema._1_0._1_0.Vehicle
-
- All Implemented Interfaces:
Serializable
public class Vehicle extends Object implements Serializable
Details of an individual vehicle.Java class for Vehicle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Vehicle"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="vehicleColour" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" maxOccurs="unbounded"> <complexType> <simpleContent> <extension base="<http://datex2.eu/schema/1_0/1_0>MultiLingualString"> <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}language" /> </extension> </simpleContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="vehicleCountryOfOrigin" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" maxOccurs="unbounded"> <complexType> <simpleContent> <extension base="<http://datex2.eu/schema/1_0/1_0>MultiLingualString"> <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}language" /> </extension> </simpleContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> <element name="vehicleIdentifier" type="{http://datex2.eu/schema/1_0/1_0}String" minOccurs="0"/> <element name="vehicleManufacturer" type="{http://datex2.eu/schema/1_0/1_0}String" minOccurs="0"/> <element name="vehicleModel" type="{http://datex2.eu/schema/1_0/1_0}String" minOccurs="0"/> <element name="vehicleRegistrationPlateIdentifier" type="{http://datex2.eu/schema/1_0/1_0}String" minOccurs="0"/> <element name="vehicleStatus" type="{http://datex2.eu/schema/1_0/1_0}VehicleStatusEnum" minOccurs="0"/> <element name="vehicleCharacteristics" type="{http://datex2.eu/schema/1_0/1_0}VehicleCharacteristics" minOccurs="0"/> <element name="axleSpacingOnVehicle" type="{http://datex2.eu/schema/1_0/1_0}AxleSpacing" maxOccurs="unbounded" minOccurs="0"/> <element name="axleWeightsOfVehicle" type="{http://datex2.eu/schema/1_0/1_0}AxleWeight" maxOccurs="unbounded" minOccurs="0"/> <element name="hazardousGoodsAssociatedWithVehicle" type="{http://datex2.eu/schema/1_0/1_0}HazardousMaterials" minOccurs="0"/> <element name="vehicleExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVehicle.VehicleColourJava class for anonymous complex type.static classVehicle.VehicleCountryOfOriginJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AxleSpacing>axleSpacingOnVehiclesprotected List<AxleWeight>axleWeightsOfVehiclesprotected HazardousMaterialshazardousGoodsAssociatedWithVehicleprotected VehicleCharacteristicsvehicleCharacteristicsprotected Vehicle.VehicleColourvehicleColourprotected Vehicle.VehicleCountryOfOriginvehicleCountryOfOriginprotected ExtensionTypevehicleExtensionprotected StringvehicleIdentifierprotected StringvehicleManufacturerprotected StringvehicleModelprotected StringvehicleRegistrationPlateIdentifierprotected VehicleStatusEnumvehicleStatus
-
Constructor Summary
Constructors Constructor Description Vehicle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AxleSpacing>getAxleSpacingOnVehicles()Gets the value of the axleSpacingOnVehicles property.List<AxleWeight>getAxleWeightsOfVehicles()Gets the value of the axleWeightsOfVehicles property.HazardousMaterialsgetHazardousGoodsAssociatedWithVehicle()Gets the value of the hazardousGoodsAssociatedWithVehicle property.VehicleCharacteristicsgetVehicleCharacteristics()Gets the value of the vehicleCharacteristics property.Vehicle.VehicleColourgetVehicleColour()Gets the value of the vehicleColour property.Vehicle.VehicleCountryOfOrigingetVehicleCountryOfOrigin()Gets the value of the vehicleCountryOfOrigin property.ExtensionTypegetVehicleExtension()Gets the value of the vehicleExtension property.StringgetVehicleIdentifier()Gets the value of the vehicleIdentifier property.StringgetVehicleManufacturer()Gets the value of the vehicleManufacturer property.StringgetVehicleModel()Gets the value of the vehicleModel property.StringgetVehicleRegistrationPlateIdentifier()Gets the value of the vehicleRegistrationPlateIdentifier property.VehicleStatusEnumgetVehicleStatus()Gets the value of the vehicleStatus property.voidsetHazardousGoodsAssociatedWithVehicle(HazardousMaterials value)Sets the value of the hazardousGoodsAssociatedWithVehicle property.voidsetVehicleCharacteristics(VehicleCharacteristics value)Sets the value of the vehicleCharacteristics property.voidsetVehicleColour(Vehicle.VehicleColour value)Sets the value of the vehicleColour property.voidsetVehicleCountryOfOrigin(Vehicle.VehicleCountryOfOrigin value)Sets the value of the vehicleCountryOfOrigin property.voidsetVehicleExtension(ExtensionType value)Sets the value of the vehicleExtension property.voidsetVehicleIdentifier(String value)Sets the value of the vehicleIdentifier property.voidsetVehicleManufacturer(String value)Sets the value of the vehicleManufacturer property.voidsetVehicleModel(String value)Sets the value of the vehicleModel property.voidsetVehicleRegistrationPlateIdentifier(String value)Sets the value of the vehicleRegistrationPlateIdentifier property.voidsetVehicleStatus(VehicleStatusEnum value)Sets the value of the vehicleStatus property.
-
-
-
Field Detail
-
vehicleColour
protected Vehicle.VehicleColour vehicleColour
-
vehicleCountryOfOrigin
protected Vehicle.VehicleCountryOfOrigin vehicleCountryOfOrigin
-
vehicleIdentifier
protected String vehicleIdentifier
-
vehicleManufacturer
protected String vehicleManufacturer
-
vehicleModel
protected String vehicleModel
-
vehicleRegistrationPlateIdentifier
protected String vehicleRegistrationPlateIdentifier
-
vehicleStatus
protected VehicleStatusEnum vehicleStatus
-
vehicleCharacteristics
protected VehicleCharacteristics vehicleCharacteristics
-
axleSpacingOnVehicles
protected List<AxleSpacing> axleSpacingOnVehicles
-
axleWeightsOfVehicles
protected List<AxleWeight> axleWeightsOfVehicles
-
hazardousGoodsAssociatedWithVehicle
protected HazardousMaterials hazardousGoodsAssociatedWithVehicle
-
vehicleExtension
protected ExtensionType vehicleExtension
-
-
Method Detail
-
getVehicleColour
public Vehicle.VehicleColour getVehicleColour()
Gets the value of the vehicleColour property.- Returns:
- possible object is
Vehicle.VehicleColour
-
setVehicleColour
public void setVehicleColour(Vehicle.VehicleColour value)
Sets the value of the vehicleColour property.- Parameters:
value- allowed object isVehicle.VehicleColour
-
getVehicleCountryOfOrigin
public Vehicle.VehicleCountryOfOrigin getVehicleCountryOfOrigin()
Gets the value of the vehicleCountryOfOrigin property.- Returns:
- possible object is
Vehicle.VehicleCountryOfOrigin
-
setVehicleCountryOfOrigin
public void setVehicleCountryOfOrigin(Vehicle.VehicleCountryOfOrigin value)
Sets the value of the vehicleCountryOfOrigin property.- Parameters:
value- allowed object isVehicle.VehicleCountryOfOrigin
-
getVehicleIdentifier
public String getVehicleIdentifier()
Gets the value of the vehicleIdentifier property.- Returns:
- possible object is
String
-
setVehicleIdentifier
public void setVehicleIdentifier(String value)
Sets the value of the vehicleIdentifier property.- Parameters:
value- allowed object isString
-
getVehicleManufacturer
public String getVehicleManufacturer()
Gets the value of the vehicleManufacturer property.- Returns:
- possible object is
String
-
setVehicleManufacturer
public void setVehicleManufacturer(String value)
Sets the value of the vehicleManufacturer property.- Parameters:
value- allowed object isString
-
getVehicleModel
public String getVehicleModel()
Gets the value of the vehicleModel property.- Returns:
- possible object is
String
-
setVehicleModel
public void setVehicleModel(String value)
Sets the value of the vehicleModel property.- Parameters:
value- allowed object isString
-
getVehicleRegistrationPlateIdentifier
public String getVehicleRegistrationPlateIdentifier()
Gets the value of the vehicleRegistrationPlateIdentifier property.- Returns:
- possible object is
String
-
setVehicleRegistrationPlateIdentifier
public void setVehicleRegistrationPlateIdentifier(String value)
Sets the value of the vehicleRegistrationPlateIdentifier property.- Parameters:
value- allowed object isString
-
getVehicleStatus
public VehicleStatusEnum getVehicleStatus()
Gets the value of the vehicleStatus property.- Returns:
- possible object is
VehicleStatusEnum
-
setVehicleStatus
public void setVehicleStatus(VehicleStatusEnum value)
Sets the value of the vehicleStatus property.- Parameters:
value- allowed object isVehicleStatusEnum
-
getVehicleCharacteristics
public VehicleCharacteristics getVehicleCharacteristics()
Gets the value of the vehicleCharacteristics property.- Returns:
- possible object is
VehicleCharacteristics
-
setVehicleCharacteristics
public void setVehicleCharacteristics(VehicleCharacteristics value)
Sets the value of the vehicleCharacteristics property.- Parameters:
value- allowed object isVehicleCharacteristics
-
getAxleSpacingOnVehicles
public List<AxleSpacing> getAxleSpacingOnVehicles()
Gets the value of the axleSpacingOnVehicles property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the axleSpacingOnVehicles property.For example, to add a new item, do as follows:
getAxleSpacingOnVehicles().add(newItem);Objects of the following type(s) are allowed in the list
AxleSpacing
-
getAxleWeightsOfVehicles
public List<AxleWeight> getAxleWeightsOfVehicles()
Gets the value of the axleWeightsOfVehicles property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the axleWeightsOfVehicles property.For example, to add a new item, do as follows:
getAxleWeightsOfVehicles().add(newItem);Objects of the following type(s) are allowed in the list
AxleWeight
-
getHazardousGoodsAssociatedWithVehicle
public HazardousMaterials getHazardousGoodsAssociatedWithVehicle()
Gets the value of the hazardousGoodsAssociatedWithVehicle property.- Returns:
- possible object is
HazardousMaterials
-
setHazardousGoodsAssociatedWithVehicle
public void setHazardousGoodsAssociatedWithVehicle(HazardousMaterials value)
Sets the value of the hazardousGoodsAssociatedWithVehicle property.- Parameters:
value- allowed object isHazardousMaterials
-
getVehicleExtension
public ExtensionType getVehicleExtension()
Gets the value of the vehicleExtension property.- Returns:
- possible object is
ExtensionType
-
setVehicleExtension
public void setVehicleExtension(ExtensionType value)
Sets the value of the vehicleExtension property.- Parameters:
value- allowed object isExtensionType
-
-