Class 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
    • Constructor Detail

      • Destination

        public Destination()
    • 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 is DestinationRef
      • 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 JAXB object. This is why there is not a set method 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