Class DirectionStructure

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    RouteDirectionStructure

    public class DirectionStructure
    extends Object
    implements Serializable
    Type for DIRECTION.

    Java class for DirectionStructure complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="DirectionStructure">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="DirectionRef" type="{http://www.siri.org.uk/siri}DirectionRefStructure"/>
             <element name="DirectionName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • DirectionStructure

        public DirectionStructure()
    • Method Detail

      • getDirectionNames

        public List<NaturalLanguageStringStructure> getDirectionNames()
        Gets the value of the directionNames 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 directionNames property.

        For example, to add a new item, do as follows:

            getDirectionNames().add(newItem);
         

        Objects of the following type(s) are allowed in the list NaturalLanguageStringStructure