Class TrafficViewPublication
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.PayloadPublication
-
- eu.datex2.siri13.schema._1_0._1_0.TrafficViewPublication
-
- All Implemented Interfaces:
Serializable
public class TrafficViewPublication extends PayloadPublication implements Serializable
A publication containing one or more traffic views.Java class for TrafficViewPublication complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TrafficViewPublication"> <complexContent> <extension base="{http://datex2.eu/schema/1_0/1_0}PayloadPublication"> <sequence> <element name="headerInformation" type="{http://datex2.eu/schema/1_0/1_0}HeaderInformation"/> <element name="trafficView" type="{http://datex2.eu/schema/1_0/1_0}TrafficView" maxOccurs="unbounded"/> <element name="trafficViewPublicationExtension" 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 HeaderInformationheaderInformationprotected ExtensionTypetrafficViewPublicationExtensionprotected List<TrafficView>trafficViews-
Fields inherited from class eu.datex2.siri13.schema._1_0._1_0.PayloadPublication
feedType, lang, payloadPublicationExtension, publicationCreator, publicationTime
-
-
Constructor Summary
Constructors Constructor Description TrafficViewPublication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderInformationgetHeaderInformation()Gets the value of the headerInformation property.ExtensionTypegetTrafficViewPublicationExtension()Gets the value of the trafficViewPublicationExtension property.List<TrafficView>getTrafficViews()Gets the value of the trafficViews property.voidsetHeaderInformation(HeaderInformation value)Sets the value of the headerInformation property.voidsetTrafficViewPublicationExtension(ExtensionType value)Sets the value of the trafficViewPublicationExtension 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
-
headerInformation
protected HeaderInformation headerInformation
-
trafficViews
protected List<TrafficView> trafficViews
-
trafficViewPublicationExtension
protected ExtensionType trafficViewPublicationExtension
-
-
Method Detail
-
getHeaderInformation
public HeaderInformation getHeaderInformation()
Gets the value of the headerInformation property.- Returns:
- possible object is
HeaderInformation
-
setHeaderInformation
public void setHeaderInformation(HeaderInformation value)
Sets the value of the headerInformation property.- Parameters:
value- allowed object isHeaderInformation
-
getTrafficViews
public List<TrafficView> getTrafficViews()
Gets the value of the trafficViews 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 trafficViews property.For example, to add a new item, do as follows:
getTrafficViews().add(newItem);Objects of the following type(s) are allowed in the list
TrafficView
-
getTrafficViewPublicationExtension
public ExtensionType getTrafficViewPublicationExtension()
Gets the value of the trafficViewPublicationExtension property.- Returns:
- possible object is
ExtensionType
-
setTrafficViewPublicationExtension
public void setTrafficViewPublicationExtension(ExtensionType value)
Sets the value of the trafficViewPublicationExtension property.- Parameters:
value- allowed object isExtensionType
-
-