Class Itinerary
- java.lang.Object
-
- eu.datex2.siri20.schema._2_0rc1._2_0.GroupOfLocations
-
- eu.datex2.siri20.schema._2_0rc1._2_0.Itinerary
-
- All Implemented Interfaces:
Serializable
public class Itinerary extends GroupOfLocations implements Serializable
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/2_0RC1/2_0}GroupOfLocations"> <sequence> <element name="locationContainedInItinerary" maxOccurs="unbounded"> <complexType> <complexContent> <extension base="{http://datex2.eu/schema/2_0RC1/2_0}Location"> <attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> </extension> </complexContent> </complexType> </element> <element name="routeDestination" type="{http://datex2.eu/schema/2_0RC1/2_0}Destination" maxOccurs="unbounded" minOccurs="0"/> <element name="itineraryExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItinerary.LocationContainedInItineraryJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ExtensionTypeitineraryExtensionprotected List<Itinerary.LocationContainedInItinerary>locationContainedInItinerariesprotected List<Destination>routeDestinations-
Fields inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.GroupOfLocations
groupOfLocationsExtension
-
-
Constructor Summary
Constructors Constructor Description Itinerary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionTypegetItineraryExtension()Gets the value of the itineraryExtension property.List<Itinerary.LocationContainedInItinerary>getLocationContainedInItineraries()Gets the value of the locationContainedInItineraries property.List<Destination>getRouteDestinations()Gets the value of the routeDestinations property.voidsetItineraryExtension(ExtensionType value)Sets the value of the itineraryExtension property.-
Methods inherited from class eu.datex2.siri20.schema._2_0rc1._2_0.GroupOfLocations
getGroupOfLocationsExtension, setGroupOfLocationsExtension
-
-
-
-
Field Detail
-
locationContainedInItineraries
protected List<Itinerary.LocationContainedInItinerary> locationContainedInItineraries
-
routeDestinations
protected List<Destination> routeDestinations
-
itineraryExtension
protected ExtensionType itineraryExtension
-
-
Method Detail
-
getLocationContainedInItineraries
public List<Itinerary.LocationContainedInItinerary> getLocationContainedInItineraries()
Gets the value of the locationContainedInItineraries 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
setmethod for the locationContainedInItineraries property.For example, to add a new item, do as follows:
getLocationContainedInItineraries().add(newItem);Objects of the following type(s) are allowed in the list
Itinerary.LocationContainedInItinerary
-
getRouteDestinations
public List<Destination> getRouteDestinations()
Gets the value of the routeDestinations 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
setmethod for the routeDestinations property.For example, to add a new item, do as follows:
getRouteDestinations().add(newItem);Objects of the following type(s) are allowed in the list
Destination
-
getItineraryExtension
public ExtensionType getItineraryExtension()
Gets the value of the itineraryExtension property.- Returns:
- possible object is
ExtensionType
-
setItineraryExtension
public void setItineraryExtension(ExtensionType value)
Sets the value of the itineraryExtension property.- Parameters:
value- allowed object isExtensionType
-
-