Class VehicleObstruction
- java.lang.Object
-
- eu.datex2.siri20.schema._2_0rc1._2_0.SituationRecord
-
- eu.datex2.siri20.schema._2_0rc1._2_0.TrafficElement
-
- eu.datex2.siri20.schema._2_0rc1._2_0.Obstruction
-
- eu.datex2.siri20.schema._2_0rc1._2_0.VehicleObstruction
-
- All Implemented Interfaces:
Serializable
public class VehicleObstruction extends Obstruction implements Serializable
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/2_0RC1/2_0}Obstruction"> <sequence> <element name="vehicleObstructionType" type="{http://datex2.eu/schema/2_0RC1/2_0}VehicleObstructionTypeEnum"/> <element name="obstructingVehicle" type="{http://datex2.eu/schema/2_0RC1/2_0}Vehicle" maxOccurs="unbounded" minOccurs="0"/> <element name="vehicleObstructionExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Vehicle>obstructingVehiclesprotected ExtensionTypevehicleObstructionExtensionprotected VehicleObstructionTypeEnumvehicleObstructionType-
Fields inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.Obstruction
mobilityOfObstruction, numberOfObstructions, obstructionExtension
-
Fields inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.TrafficElement
trafficElementExtension
-
Fields inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.SituationRecord
cause, confidentialityOverride, generalPublicComments, groupOfLocations, id, impact, management, nonGeneralPublicComments, probabilityOfOccurrence, situationRecordCreationReference, situationRecordCreationTime, situationRecordExtension, situationRecordFirstSupplierVersionTime, situationRecordObservationTime, situationRecordVersion, situationRecordVersionTime, source, urlLinks, validity
-
-
Constructor Summary
Constructors Constructor Description VehicleObstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Vehicle>getObstructingVehicles()Gets the value of the obstructingVehicles property.ExtensionTypegetVehicleObstructionExtension()Gets the value of the vehicleObstructionExtension property.VehicleObstructionTypeEnumgetVehicleObstructionType()Gets the value of the vehicleObstructionType property.voidsetVehicleObstructionExtension(ExtensionType value)Sets the value of the vehicleObstructionExtension property.voidsetVehicleObstructionType(VehicleObstructionTypeEnum value)Sets the value of the vehicleObstructionType property.-
Methods inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.Obstruction
getMobilityOfObstruction, getNumberOfObstructions, getObstructionExtension, setMobilityOfObstruction, setNumberOfObstructions, setObstructionExtension
-
Methods inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.TrafficElement
getTrafficElementExtension, setTrafficElementExtension
-
Methods inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.SituationRecord
getCause, getConfidentialityOverride, getGeneralPublicComments, getGroupOfLocations, getId, getImpact, getManagement, getNonGeneralPublicComments, getProbabilityOfOccurrence, getSituationRecordCreationReference, getSituationRecordCreationTime, getSituationRecordExtension, getSituationRecordFirstSupplierVersionTime, getSituationRecordObservationTime, getSituationRecordVersion, getSituationRecordVersionTime, getSource, getUrlLinks, getValidity, setCause, setConfidentialityOverride, setGroupOfLocations, setId, setImpact, setManagement, setProbabilityOfOccurrence, setSituationRecordCreationReference, setSituationRecordCreationTime, setSituationRecordExtension, setSituationRecordFirstSupplierVersionTime, setSituationRecordObservationTime, setSituationRecordVersion, setSituationRecordVersionTime, setSource, setValidity
-
-
-
-
Field Detail
-
vehicleObstructionType
protected VehicleObstructionTypeEnum vehicleObstructionType
-
vehicleObstructionExtension
protected ExtensionType vehicleObstructionExtension
-
-
Method Detail
-
getVehicleObstructionType
public VehicleObstructionTypeEnum getVehicleObstructionType()
Gets the value of the vehicleObstructionType property.- Returns:
- possible object is
VehicleObstructionTypeEnum
-
setVehicleObstructionType
public void setVehicleObstructionType(VehicleObstructionTypeEnum value)
Sets the value of the vehicleObstructionType property.- Parameters:
value- allowed object isVehicleObstructionTypeEnum
-
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 JAXB object. This is why there is not a
setmethod 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 isExtensionType
-
-