Class PlaceNameStructure
- java.lang.Object
-
- uk.org.siri.siri20.PlaceNameStructure
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ViaNameStructure
public class PlaceNameStructure extends Object implements Serializable
Names of VIA points, used to help identify the LINE, for example, Luton to Luton via Sutton. Currently 3 in VDV. Should only be included if the detail level was requested.Java class for PlaceNameStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PlaceNameStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PlaceRef" type="{http://www.siri.org.uk/siri}JourneyPlaceRefStructure" minOccurs="0"/> <element name="PlaceName" type="{http://www.siri.org.uk/siri}NaturalLanguagePlaceNameStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="PlaceShortName" type="{http://www.siri.org.uk/siri}NaturalLanguagePlaceNameStructure" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NaturalLanguagePlaceNameStructure>placeNamesprotected JourneyPlaceRefStructureplaceRefprotected List<NaturalLanguagePlaceNameStructure>placeShortNames
-
Constructor Summary
Constructors Constructor Description PlaceNameStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NaturalLanguagePlaceNameStructure>getPlaceNames()Gets the value of the placeNames property.JourneyPlaceRefStructuregetPlaceRef()Gets the value of the placeRef property.List<NaturalLanguagePlaceNameStructure>getPlaceShortNames()Gets the value of the placeShortNames property.voidsetPlaceRef(JourneyPlaceRefStructure value)Sets the value of the placeRef property.
-
-
-
Field Detail
-
placeRef
protected JourneyPlaceRefStructure placeRef
-
placeNames
protected List<NaturalLanguagePlaceNameStructure> placeNames
-
placeShortNames
protected List<NaturalLanguagePlaceNameStructure> placeShortNames
-
-
Method Detail
-
getPlaceRef
public JourneyPlaceRefStructure getPlaceRef()
Gets the value of the placeRef property.- Returns:
- possible object is
JourneyPlaceRefStructure
-
setPlaceRef
public void setPlaceRef(JourneyPlaceRefStructure value)
Sets the value of the placeRef property.- Parameters:
value- allowed object isJourneyPlaceRefStructure
-
getPlaceNames
public List<NaturalLanguagePlaceNameStructure> getPlaceNames()
Gets the value of the placeNames 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 placeNames property.For example, to add a new item, do as follows:
getPlaceNames().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguagePlaceNameStructure
-
getPlaceShortNames
public List<NaturalLanguagePlaceNameStructure> getPlaceShortNames()
Gets the value of the placeShortNames 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 placeShortNames property.For example, to add a new item, do as follows:
getPlaceShortNames().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguagePlaceNameStructure
-
-