All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.datex2.schema._2._2_0.LinearTrafficView Maven / Gradle / Ivy

The newest version!

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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for LinearTrafficView complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="LinearTrafficView">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="linearPredefinedLocationReference" type="{http://datex2.eu/schema/2/2_0}_PredefinedLocationVersionedReference"/>
 *         <element name="trafficViewRecord" type="{http://datex2.eu/schema/2/2_0}TrafficViewRecord" maxOccurs="unbounded"/>
 *         <element name="linearTrafficViewExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LinearTrafficView", propOrder = { "linearPredefinedLocationReference", "trafficViewRecord", "linearTrafficViewExtension" }) public class LinearTrafficView { @XmlElement(required = true) protected PredefinedLocationVersionedReference linearPredefinedLocationReference; @XmlElement(required = true) protected List trafficViewRecord; protected ExtensionType linearTrafficViewExtension; @XmlAttribute(name = "id", required = true) protected String id; /** * Gets the value of the linearPredefinedLocationReference property. * * @return * possible object is * {@link PredefinedLocationVersionedReference } * */ public PredefinedLocationVersionedReference getLinearPredefinedLocationReference() { return linearPredefinedLocationReference; } /** * Sets the value of the linearPredefinedLocationReference property. * * @param value * allowed object is * {@link PredefinedLocationVersionedReference } * */ public void setLinearPredefinedLocationReference(PredefinedLocationVersionedReference value) { this.linearPredefinedLocationReference = value; } /** * Gets the value of the trafficViewRecord 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 trafficViewRecord property. * *

* For example, to add a new item, do as follows: *

     *    getTrafficViewRecord().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrafficViewRecord } * * */ public List getTrafficViewRecord() { if (trafficViewRecord == null) { trafficViewRecord = new ArrayList(); } return this.trafficViewRecord; } /** * Gets the value of the linearTrafficViewExtension property. * * @return * possible object is * {@link ExtensionType } * */ public ExtensionType getLinearTrafficViewExtension() { return linearTrafficViewExtension; } /** * Sets the value of the linearTrafficViewExtension property. * * @param value * allowed object is * {@link ExtensionType } * */ public void setLinearTrafficViewExtension(ExtensionType value) { this.linearTrafficViewExtension = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy