Package uk.org.siri.siri14
Class PlaceNameStructure
- java.lang.Object
-
- uk.org.siri.siri14.PlaceNameStructure
-
- All Implemented Interfaces:
Serializable
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" 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 NaturalLanguagePlaceNameStructureplaceNameprotected JourneyPlaceRefStructureplaceRefprotected List<NaturalLanguagePlaceNameStructure>placeShortNames
-
Constructor Summary
Constructors Constructor Description PlaceNameStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NaturalLanguagePlaceNameStructuregetPlaceName()Gets the value of the placeName property.JourneyPlaceRefStructuregetPlaceRef()Gets the value of the placeRef property.List<NaturalLanguagePlaceNameStructure>getPlaceShortNames()Gets the value of the placeShortNames property.voidsetPlaceName(NaturalLanguagePlaceNameStructure value)Sets the value of the placeName property.voidsetPlaceRef(JourneyPlaceRefStructure value)Sets the value of the placeRef property.
-
-
-
Field Detail
-
placeRef
protected JourneyPlaceRefStructure placeRef
-
placeName
protected NaturalLanguagePlaceNameStructure placeName
-
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
-
getPlaceName
public NaturalLanguagePlaceNameStructure getPlaceName()
Gets the value of the placeName property.- Returns:
- possible object is
NaturalLanguagePlaceNameStructure
-
setPlaceName
public void setPlaceName(NaturalLanguagePlaceNameStructure value)
Sets the value of the placeName property.- Parameters:
value- allowed object isNaturalLanguagePlaceNameStructure
-
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 Jakarta XML Binding 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
-
-