Class GroupOfLocations
- java.lang.Object
-
- eu.datex2.siri13.schema._1_0._1_0.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 Summary
Fields Modifier and Type Field Description protected ExtensionTypegroupOfLocationsExtensionprotected List<Location>locationContainedInGroupsprotected List<Destination>routeDestinations
-
Constructor Summary
Constructors Constructor Description GroupOfLocations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionTypegetGroupOfLocationsExtension()Gets the value of the groupOfLocationsExtension property.List<Location>getLocationContainedInGroups()Gets the value of the locationContainedInGroups property.List<Destination>getRouteDestinations()Gets the value of the routeDestinations property.voidsetGroupOfLocationsExtension(ExtensionType value)Sets the value of the groupOfLocationsExtension property.
-
-
-
Field Detail
-
routeDestinations
protected List<Destination> routeDestinations
-
groupOfLocationsExtension
protected ExtensionType groupOfLocationsExtension
-
-
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 JAXB object. This is why there is not a
setmethod 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 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
-
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 isExtensionType
-
-