Class VehicleObstruction

  • All Implemented Interfaces:
    Serializable

    public class VehicleObstruction
    extends Obstruction
    implements Serializable
    An obstruction on the road caused by one or more vehicles.

    Java class for VehicleObstruction complex type.

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

     <complexType name="VehicleObstruction">
       <complexContent>
         <extension base="{http://datex2.eu/schema/1_0/1_0}Obstruction">
           <sequence>
             <element name="vehicleObstructionType" type="{http://datex2.eu/schema/1_0/1_0}VehicleObstructionTypeEnum"/>
             <element name="obstructingVehicle" type="{http://datex2.eu/schema/1_0/1_0}Vehicle" maxOccurs="unbounded" minOccurs="0"/>
             <element name="vehicleObstructionExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • VehicleObstruction

        public VehicleObstruction()
    • Method Detail

      • getObstructingVehicles

        public List<Vehicle> getObstructingVehicles()
        Gets the value of the obstructingVehicles 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 obstructingVehicles property.

        For example, to add a new item, do as follows:

            getObstructingVehicles().add(newItem);
         

        Objects of the following type(s) are allowed in the list Vehicle

      • getVehicleObstructionExtension

        public ExtensionType getVehicleObstructionExtension()
        Gets the value of the vehicleObstructionExtension property.
        Returns:
        possible object is ExtensionType
      • setVehicleObstructionExtension

        public void setVehicleObstructionExtension​(ExtensionType value)
        Sets the value of the vehicleObstructionExtension property.
        Parameters:
        value - allowed object is ExtensionType