
eu.datex2.schema._2._2_0.TrafficViewPublication Maven / Gradle / Ivy
Show all versions of datex2-api Show documentation
package eu.datex2.schema._2._2_0;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* 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/2/2_0}PayloadPublication">
* <sequence>
* <element name="headerInformation" type="{http://datex2.eu/schema/2/2_0}HeaderInformation"/>
* <element name="trafficView" type="{http://datex2.eu/schema/2/2_0}TrafficView" maxOccurs="unbounded"/>
* <element name="trafficViewPublicationExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrafficViewPublication", propOrder = {
"headerInformation",
"trafficView",
"trafficViewPublicationExtension"
})
public class TrafficViewPublication
extends PayloadPublication
{
@XmlElement(required = true)
protected HeaderInformation headerInformation;
@XmlElement(required = true)
protected List trafficView;
protected ExtensionType trafficViewPublicationExtension;
/**
* Gets the value of the headerInformation property.
*
* @return
* possible object is
* {@link HeaderInformation }
*
*/
public HeaderInformation getHeaderInformation() {
return headerInformation;
}
/**
* Sets the value of the headerInformation property.
*
* @param value
* allowed object is
* {@link HeaderInformation }
*
*/
public void setHeaderInformation(HeaderInformation value) {
this.headerInformation = value;
}
/**
* Gets the value of the trafficView 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 set
method for the trafficView property.
*
*
* For example, to add a new item, do as follows:
*
* getTrafficView().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TrafficView }
*
*
*/
public List getTrafficView() {
if (trafficView == null) {
trafficView = new ArrayList();
}
return this.trafficView;
}
/**
* Gets the value of the trafficViewPublicationExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getTrafficViewPublicationExtension() {
return trafficViewPublicationExtension;
}
/**
* Sets the value of the trafficViewPublicationExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setTrafficViewPublicationExtension(ExtensionType value) {
this.trafficViewPublicationExtension = value;
}
}