Class GroupOfLocations

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    GroupOfLocationsByReference

    public class GroupOfLocations
    extends Object
    implements Serializable
    A group of one or more physically separate locations. Locations maybe related, as in an itinerary or route, or maybe unrelated. It is not for identifying the same physical location using different referencing systems.

    Java class for GroupOfLocations complex type.

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

     <complexType name="GroupOfLocations">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="locationContainedInGroup" type="{http://datex2.eu/schema/1_0/1_0}Location" maxOccurs="unbounded"/>
             <element name="routeDestination" type="{http://datex2.eu/schema/1_0/1_0}Destination" maxOccurs="unbounded" minOccurs="0"/>
             <element name="groupOfLocationsExtension" type="{http://datex2.eu/schema/1_0/1_0}ExtensionType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • locationContainedInGroups

        protected List<Location> locationContainedInGroups
      • groupOfLocationsExtension

        protected ExtensionType groupOfLocationsExtension
    • Constructor Detail

      • GroupOfLocations

        public GroupOfLocations()
    • Method Detail

      • getLocationContainedInGroups

        public List<Location> getLocationContainedInGroups()
        Gets the value of the locationContainedInGroups 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 locationContainedInGroups property.

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

            getLocationContainedInGroups().add(newItem);
         

        Objects of the following type(s) are allowed in the list Location

      • 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

      • getGroupOfLocationsExtension

        public ExtensionType getGroupOfLocationsExtension()
        Gets the value of the groupOfLocationsExtension property.
        Returns:
        possible object is ExtensionType
      • setGroupOfLocationsExtension

        public void setGroupOfLocationsExtension​(ExtensionType value)
        Sets the value of the groupOfLocationsExtension property.
        Parameters:
        value - allowed object is ExtensionType