Package uk.org.siri.siri20
Class AnnotatedLineRef
- java.lang.Object
-
- uk.org.siri.siri20.AnnotatedLineRef
-
- All Implemented Interfaces:
Serializable
public class AnnotatedLineRef extends Object implements Serializable
Summary information about a LINE type.Java class for AnnotatedLineStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AnnotatedLineStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="LineRef" type="{http://www.siri.org.uk/siri}LineRefStructure"/> <element name="LineName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded"/> <element name="Monitored" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="Destinations" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.siri.org.uk/siri}Destination" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="Directions" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Direction" type="{http://www.siri.org.uk/siri}RouteDirectionStructure" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotatedLineRef.DestinationsJava class for anonymous complex type.static classAnnotatedLineRef.DirectionsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected AnnotatedLineRef.Destinationsdestinationsprotected AnnotatedLineRef.Directionsdirectionsprotected Extensionsextensionsprotected List<NaturalLanguageStringStructure>lineNamesprotected LineReflineRefprotected booleanmonitored
-
Constructor Summary
Constructors Constructor Description AnnotatedLineRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedLineRef.DestinationsgetDestinations()Gets the value of the destinations property.AnnotatedLineRef.DirectionsgetDirections()Gets the value of the directions property.ExtensionsgetExtensions()Gets the value of the extensions property.List<NaturalLanguageStringStructure>getLineNames()Gets the value of the lineNames property.LineRefgetLineRef()Gets the value of the lineRef property.booleanisMonitored()Gets the value of the monitored property.voidsetDestinations(AnnotatedLineRef.Destinations value)Sets the value of the destinations property.voidsetDirections(AnnotatedLineRef.Directions value)Sets the value of the directions property.voidsetExtensions(Extensions value)Sets the value of the extensions property.voidsetLineRef(LineRef value)Sets the value of the lineRef property.voidsetMonitored(boolean value)Sets the value of the monitored property.
-
-
-
Field Detail
-
lineRef
protected LineRef lineRef
-
lineNames
protected List<NaturalLanguageStringStructure> lineNames
-
monitored
protected boolean monitored
-
destinations
protected AnnotatedLineRef.Destinations destinations
-
directions
protected AnnotatedLineRef.Directions directions
-
extensions
protected Extensions extensions
-
-
Method Detail
-
getLineRef
public LineRef getLineRef()
Gets the value of the lineRef property.- Returns:
- possible object is
LineRef
-
setLineRef
public void setLineRef(LineRef value)
Sets the value of the lineRef property.- Parameters:
value- allowed object isLineRef
-
getLineNames
public List<NaturalLanguageStringStructure> getLineNames()
Gets the value of the lineNames 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
setmethod for the lineNames property.For example, to add a new item, do as follows:
getLineNames().add(newItem);Objects of the following type(s) are allowed in the list
NaturalLanguageStringStructure
-
isMonitored
public boolean isMonitored()
Gets the value of the monitored property.
-
setMonitored
public void setMonitored(boolean value)
Sets the value of the monitored property.
-
getDestinations
public AnnotatedLineRef.Destinations getDestinations()
Gets the value of the destinations property.- Returns:
- possible object is
AnnotatedLineRef.Destinations
-
setDestinations
public void setDestinations(AnnotatedLineRef.Destinations value)
Sets the value of the destinations property.- Parameters:
value- allowed object isAnnotatedLineRef.Destinations
-
getDirections
public AnnotatedLineRef.Directions getDirections()
Gets the value of the directions property.- Returns:
- possible object is
AnnotatedLineRef.Directions
-
setDirections
public void setDirections(AnnotatedLineRef.Directions value)
Sets the value of the directions property.- Parameters:
value- allowed object isAnnotatedLineRef.Directions
-
getExtensions
public Extensions getExtensions()
Gets the value of the extensions property.- Returns:
- possible object is
Extensions
-
setExtensions
public void setExtensions(Extensions value)
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensions
-
-