Package uk.org.siri.siri21
Class Destination
- java.lang.Object
-
- uk.org.siri.siri21.Destination
-
- All Implemented Interfaces:
Serializable
public class Destination extends Object implements Serializable
Type for DESTINATION and place name.Java class for AnnotatedDestinationStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotatedDestinationStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="DestinationRef" type="{http://www.siri.org.uk/siri}DestinationRefStructure"/> <element name="PlaceName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded"/> <element name="DirectionRef" type="{http://www.siri.org.uk/siri}DirectionRefStructure" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DestinationRefdestinationRefprotected DirectionRefStructuredirectionRefprotected List<NaturalLanguageStringStructure>placeNames
-
Constructor Summary
Constructors Constructor Description Destination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationRefgetDestinationRef()Gets the value of the destinationRef property.DirectionRefStructuregetDirectionRef()Gets the value of the directionRef property.List<NaturalLanguageStringStructure>getPlaceNames()Gets the value of the placeNames property.voidsetDestinationRef(DestinationRef value)Sets the value of the destinationRef property.voidsetDirectionRef(DirectionRefStructure value)Sets the value of the directionRef property.
-
-
-
Field Detail
-
destinationRef
protected DestinationRef destinationRef
-
placeNames
protected List<NaturalLanguageStringStructure> placeNames
-
directionRef
protected DirectionRefStructure directionRef
-
-
Method Detail
-
getDestinationRef
public DestinationRef getDestinationRef()
Gets the value of the destinationRef property.- Returns:
- possible object is
DestinationRef
-
setDestinationRef
public void setDestinationRef(DestinationRef value)
Sets the value of the destinationRef property.- Parameters:
value- allowed object isDestinationRef
-
getPlaceNames
public List<NaturalLanguageStringStructure> 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 Jakarta XML Binding 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
NaturalLanguageStringStructure
-
getDirectionRef
public DirectionRefStructure getDirectionRef()
Gets the value of the directionRef property.- Returns:
- possible object is
DirectionRefStructure
-
setDirectionRef
public void setDirectionRef(DirectionRefStructure value)
Sets the value of the directionRef property.- Parameters:
value- allowed object isDirectionRefStructure
-
-