com.hubject.datex.energyinfrastructure.generated.location_referencing.Itinerary Maven / Gradle / Ivy
Show all versions of convert Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.location_referencing;
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
/**
* Java class for Itinerary complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Itinerary">
* <complexContent>
* <extension base="{http://datex2.eu/schema/3/locationReferencing}LocationReference">
* <sequence>
* <element name="routeDestination" type="{http://datex2.eu/schema/3/locationReferencing}Destination" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_itineraryExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Itinerary", propOrder = {
"routeDestination",
"itineraryExtension"
})
@XmlSeeAlso({
ItineraryByIndexedLocations.class,
ItineraryByReference.class
})
public abstract class Itinerary
extends LocationReference
{
protected List routeDestination;
@XmlElement(name = "_itineraryExtension")
protected ExtensionType itineraryExtension;
/**
* Gets the value of the routeDestination 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 routeDestination property.
*
*
* For example, to add a new item, do as follows:
*
* getRouteDestination().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Destination }
*
*
*/
public List getRouteDestination() {
if (routeDestination == null) {
routeDestination = new ArrayList();
}
return this.routeDestination;
}
/**
* Gets the value of the itineraryExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getItineraryExtension() {
return itineraryExtension;
}
/**
* Sets the value of the itineraryExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setItineraryExtension(ExtensionType value) {
this.itineraryExtension = value;
}
}