Class 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
    • Constructor Detail

      • Itinerary

        public Itinerary()
    • 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 Jakarta XML Binding object. This is why there is not a set method 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 Jakarta XML Binding object. This is why there is not a set method 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 is ExtensionType