Class SituationPublication
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.PayloadPublication
-
- eu.datex2.siri13.schema._1_0._1_0.SituationPublication
-
- All Implemented Interfaces:
Serializable
public class SituationPublication extends PayloadPublication implements Serializable
A publication containing zero or more traffic/travel situations.Java class for SituationPublication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SituationPublication"> <complexContent> <extension base="{http://datex2.eu/schema/1_0/1_0}PayloadPublication"> <sequence> <element name="situation" type="{http://datex2.eu/schema/1_0/1_0}Situation" maxOccurs="unbounded" minOccurs="0"/> <element name="situationPublicationExtension" 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 ExtensionTypesituationPublicationExtensionprotected List<Situation>situations-
Fields inherited from class eu.datex2.siri13.schema._1_0._1_0.PayloadPublication
feedType, lang, payloadPublicationExtension, publicationCreator, publicationTime
-
-
Constructor Summary
Constructors Constructor Description SituationPublication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionTypegetSituationPublicationExtension()Gets the value of the situationPublicationExtension property.List<Situation>getSituations()Gets the value of the situations property.voidsetSituationPublicationExtension(ExtensionType value)Sets the value of the situationPublicationExtension property.-
Methods inherited from class eu.datex2.siri13.schema._1_0._1_0.PayloadPublication
getFeedType, getLang, getPayloadPublicationExtension, getPublicationCreator, getPublicationTime, setFeedType, setLang, setPayloadPublicationExtension, setPublicationCreator, setPublicationTime
-
-
-
-
Field Detail
-
situationPublicationExtension
protected ExtensionType situationPublicationExtension
-
-
Method Detail
-
getSituations
public List<Situation> getSituations()
Gets the value of the situations 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 situations property.For example, to add a new item, do as follows:
getSituations().add(newItem);Objects of the following type(s) are allowed in the list
Situation
-
getSituationPublicationExtension
public ExtensionType getSituationPublicationExtension()
Gets the value of the situationPublicationExtension property.- Returns:
- possible object is
ExtensionType
-
setSituationPublicationExtension
public void setSituationPublicationExtension(ExtensionType value)
Sets the value of the situationPublicationExtension property.- Parameters:
value- allowed object isExtensionType
-
-