Package uk.org.siri.siri21
Class DirectionStructure
- java.lang.Object
-
- uk.org.siri.siri21.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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<NaturalLanguageStringStructure>directionNamesprotected DirectionRefStructuredirectionRef
-
Constructor Summary
Constructors Constructor Description DirectionStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NaturalLanguageStringStructure>getDirectionNames()Gets the value of the directionNames property.DirectionRefStructuregetDirectionRef()Gets the value of the directionRef property.voidsetDirectionRef(DirectionRefStructure value)Sets the value of the directionRef property.
-
-
-
Field Detail
-
directionRef
protected DirectionRefStructure directionRef
-
directionNames
protected List<NaturalLanguageStringStructure> directionNames
-
-
Method Detail
-
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
-
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
-