Class 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
    • Constructor Detail

      • Vehicle

        public Vehicle()
    • Method Detail

      • 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 is String
      • 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 is String
      • 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 is String
      • 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 is String
      • setVehicleStatus

        public void setVehicleStatus​(VehicleStatusEnum value)
        Sets the value of the vehicleStatus property.
        Parameters:
        value - allowed object is VehicleStatusEnum
      • 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 set method 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 set method 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 is HazardousMaterials
      • 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 is ExtensionType