Class Location
- java.lang.Object
-
- eu.datex2.siri20.schema._2_0rc1._2_0.Location
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Area,Itinerary.LocationContainedInItinerary,LocationByReference,NetworkLocation
public abstract class Location extends Object implements Serializable
Java class for Location complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Location"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="externalReferencing" type="{http://datex2.eu/schema/2_0RC1/2_0}ExternalReferencing" maxOccurs="unbounded" minOccurs="0"/> <element name="locationForDisplay" type="{http://datex2.eu/schema/2_0RC1/2_0}PointCoordinates" minOccurs="0"/> <element name="locationExtension" type="{http://datex2.eu/schema/2_0RC1/2_0}ExtensionType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ExternalReferencing>externalReferencingsprotected ExtensionTypelocationExtensionprotected PointCoordinateslocationForDisplay
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExternalReferencing>getExternalReferencings()Gets the value of the externalReferencings property.ExtensionTypegetLocationExtension()Gets the value of the locationExtension property.PointCoordinatesgetLocationForDisplay()Gets the value of the locationForDisplay property.voidsetLocationExtension(ExtensionType value)Sets the value of the locationExtension property.voidsetLocationForDisplay(PointCoordinates value)Sets the value of the locationForDisplay property.
-
-
-
Field Detail
-
externalReferencings
protected List<ExternalReferencing> externalReferencings
-
locationForDisplay
protected PointCoordinates locationForDisplay
-
locationExtension
protected ExtensionType locationExtension
-
-
Method Detail
-
getExternalReferencings
public List<ExternalReferencing> getExternalReferencings()
Gets the value of the externalReferencings 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 externalReferencings property.For example, to add a new item, do as follows:
getExternalReferencings().add(newItem);Objects of the following type(s) are allowed in the list
ExternalReferencing
-
getLocationForDisplay
public PointCoordinates getLocationForDisplay()
Gets the value of the locationForDisplay property.- Returns:
- possible object is
PointCoordinates
-
setLocationForDisplay
public void setLocationForDisplay(PointCoordinates value)
Sets the value of the locationForDisplay property.- Parameters:
value- allowed object isPointCoordinates
-
getLocationExtension
public ExtensionType getLocationExtension()
Gets the value of the locationExtension property.- Returns:
- possible object is
ExtensionType
-
setLocationExtension
public void setLocationExtension(ExtensionType value)
Sets the value of the locationExtension property.- Parameters:
value- allowed object isExtensionType
-
-