Class GeneralObstruction
- java.lang.Object
-
- eu.datex2.siri14.schema._1_0._1_0.SituationRecord
-
- eu.datex2.siri14.schema._1_0._1_0.TrafficElement
-
- eu.datex2.siri14.schema._1_0._1_0.Obstruction
-
- eu.datex2.siri14.schema._1_0._1_0.GeneralObstruction
-
- All Implemented Interfaces:
Serializable
public class GeneralObstruction extends Obstruction implements Serializable
Any stationary or moving obstacle of a physical nature, other than of an animal, vehicle, environmental, or damaged equipment nature.Java class for GeneralObstruction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GeneralObstruction"> <complexContent> <extension base="{http://datex2.eu/schema/1_0/1_0}Obstruction"> <sequence> <element name="obstructionType" type="{http://datex2.eu/schema/1_0/1_0}ObstructionTypeEnum" maxOccurs="unbounded"/> <element name="generalObstructionExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ExtensionTypegeneralObstructionExtensionprotected List<ObstructionTypeEnum>obstructionTypes-
Fields inherited from class eu.datex2.siri14.schema._1_0._1_0.Obstruction
mobilityOfObstruction, numberOfObstructions, obstructionExtension
-
Fields inherited from class eu.datex2.siri14.schema._1_0._1_0.TrafficElement
trafficElementExtension
-
Fields inherited from class eu.datex2.siri14.schema._1_0._1_0.SituationRecord
advices, cause, generalPublicComments, groupOfLocations, id, impact, informationUsageOverride, management, nonGeneralPublicComments, probabilityOfOccurrence, situationRecordCreationReference, situationRecordCreationTime, situationRecordExtension, situationRecordFirstSupplierVersionTime, situationRecordObservationTime, situationRecordVersion, situationRecordVersionTime, sourceInformation, validity
-
-
Constructor Summary
Constructors Constructor Description GeneralObstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionTypegetGeneralObstructionExtension()Gets the value of the generalObstructionExtension property.List<ObstructionTypeEnum>getObstructionTypes()Gets the value of the obstructionTypes property.voidsetGeneralObstructionExtension(ExtensionType value)Sets the value of the generalObstructionExtension property.-
Methods inherited from class eu.datex2.siri14.schema._1_0._1_0.Obstruction
getMobilityOfObstruction, getNumberOfObstructions, getObstructionExtension, setMobilityOfObstruction, setNumberOfObstructions, setObstructionExtension
-
Methods inherited from class eu.datex2.siri14.schema._1_0._1_0.TrafficElement
getTrafficElementExtension, setTrafficElementExtension
-
Methods inherited from class eu.datex2.siri14.schema._1_0._1_0.SituationRecord
getAdvices, getCause, getGeneralPublicComments, getGroupOfLocations, getId, getImpact, getInformationUsageOverride, getManagement, getNonGeneralPublicComments, getProbabilityOfOccurrence, getSituationRecordCreationReference, getSituationRecordCreationTime, getSituationRecordExtension, getSituationRecordFirstSupplierVersionTime, getSituationRecordObservationTime, getSituationRecordVersion, getSituationRecordVersionTime, getSourceInformation, getValidity, setCause, setGroupOfLocations, setId, setImpact, setInformationUsageOverride, setManagement, setProbabilityOfOccurrence, setSituationRecordCreationReference, setSituationRecordCreationTime, setSituationRecordExtension, setSituationRecordFirstSupplierVersionTime, setSituationRecordObservationTime, setSituationRecordVersion, setSituationRecordVersionTime, setSourceInformation, setValidity
-
-
-
-
Field Detail
-
obstructionTypes
protected List<ObstructionTypeEnum> obstructionTypes
-
generalObstructionExtension
protected ExtensionType generalObstructionExtension
-
-
Method Detail
-
getObstructionTypes
public List<ObstructionTypeEnum> getObstructionTypes()
Gets the value of the obstructionTypes 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 obstructionTypes property.For example, to add a new item, do as follows:
getObstructionTypes().add(newItem);Objects of the following type(s) are allowed in the list
ObstructionTypeEnum
-
getGeneralObstructionExtension
public ExtensionType getGeneralObstructionExtension()
Gets the value of the generalObstructionExtension property.- Returns:
- possible object is
ExtensionType
-
setGeneralObstructionExtension
public void setGeneralObstructionExtension(ExtensionType value)
Sets the value of the generalObstructionExtension property.- Parameters:
value- allowed object isExtensionType
-
-