Package uk.org.siri.siri21
Class AffectedRouteStructure
- java.lang.Object
-
- uk.org.siri.siri21.AffectedRouteStructure
-
- All Implemented Interfaces:
Serializable
public class AffectedRouteStructure extends Object implements Serializable
An ordered list of MAPPING POINTs defining one single path through the road (or rail) Network. A ROUTE may pass through the same MAPPING POINT more than once.Java class for AffectedRouteStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AffectedRouteStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="RouteRef" type="{http://www.siri.org.uk/siri}RouteRefStructure" minOccurs="0"/> <element name="Direction" type="{http://www.siri.org.uk/siri}DirectionStructure" maxOccurs="unbounded" minOccurs="0"/> <element name="Sections" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AffectedSection" type="{http://www.siri.org.uk/siri}AffectedSectionStructure" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="StopPoints" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AffectedOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <sequence maxOccurs="unbounded"> <element name="AffectedStopPoint" type="{http://www.siri.org.uk/siri}AffectedStopPointStructure"/> <element name="LinkProjectionToNextStopPoint" type="{http://www.ifopt.org.uk/ifopt}LinkProjectionStructure" minOccurs="0"/> </sequence> </sequence> </restriction> </complexContent> </complexType> </element> <element name="RouteLinks" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="RouteLinkRef" type="{http://www.siri.org.uk/siri}RouteLinkRefStructure" 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 classAffectedRouteStructure.RouteLinksJava class for anonymous complex type.static classAffectedRouteStructure.SectionsJava class for anonymous complex type.static classAffectedRouteStructure.StopPointsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<DirectionStructure>directionsprotected Extensionsextensionsprotected AffectedRouteStructure.RouteLinksrouteLinksprotected RouteRefStructurerouteRefprotected AffectedRouteStructure.Sectionssectionsprotected AffectedRouteStructure.StopPointsstopPoints
-
Constructor Summary
Constructors Constructor Description AffectedRouteStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DirectionStructure>getDirections()Gets the value of the directions property.ExtensionsgetExtensions()Gets the value of the extensions property.AffectedRouteStructure.RouteLinksgetRouteLinks()Gets the value of the routeLinks property.RouteRefStructuregetRouteRef()Gets the value of the routeRef property.AffectedRouteStructure.SectionsgetSections()Gets the value of the sections property.AffectedRouteStructure.StopPointsgetStopPoints()Gets the value of the stopPoints property.voidsetExtensions(Extensions value)Sets the value of the extensions property.voidsetRouteLinks(AffectedRouteStructure.RouteLinks value)Sets the value of the routeLinks property.voidsetRouteRef(RouteRefStructure value)Sets the value of the routeRef property.voidsetSections(AffectedRouteStructure.Sections value)Sets the value of the sections property.voidsetStopPoints(AffectedRouteStructure.StopPoints value)Sets the value of the stopPoints property.
-
-
-
Field Detail
-
routeRef
protected RouteRefStructure routeRef
-
directions
protected List<DirectionStructure> directions
-
sections
protected AffectedRouteStructure.Sections sections
-
stopPoints
protected AffectedRouteStructure.StopPoints stopPoints
-
routeLinks
protected AffectedRouteStructure.RouteLinks routeLinks
-
extensions
protected Extensions extensions
-
-
Method Detail
-
getRouteRef
public RouteRefStructure getRouteRef()
Gets the value of the routeRef property.- Returns:
- possible object is
RouteRefStructure
-
setRouteRef
public void setRouteRef(RouteRefStructure value)
Sets the value of the routeRef property.- Parameters:
value- allowed object isRouteRefStructure
-
getDirections
public List<DirectionStructure> getDirections()
Gets the value of the directions 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 directions property.For example, to add a new item, do as follows:
getDirections().add(newItem);Objects of the following type(s) are allowed in the list
DirectionStructure
-
getSections
public AffectedRouteStructure.Sections getSections()
Gets the value of the sections property.- Returns:
- possible object is
AffectedRouteStructure.Sections
-
setSections
public void setSections(AffectedRouteStructure.Sections value)
Sets the value of the sections property.- Parameters:
value- allowed object isAffectedRouteStructure.Sections
-
getStopPoints
public AffectedRouteStructure.StopPoints getStopPoints()
Gets the value of the stopPoints property.- Returns:
- possible object is
AffectedRouteStructure.StopPoints
-
setStopPoints
public void setStopPoints(AffectedRouteStructure.StopPoints value)
Sets the value of the stopPoints property.- Parameters:
value- allowed object isAffectedRouteStructure.StopPoints
-
getRouteLinks
public AffectedRouteStructure.RouteLinks getRouteLinks()
Gets the value of the routeLinks property.- Returns:
- possible object is
AffectedRouteStructure.RouteLinks
-
setRouteLinks
public void setRouteLinks(AffectedRouteStructure.RouteLinks value)
Sets the value of the routeLinks property.- Parameters:
value- allowed object isAffectedRouteStructure.RouteLinks
-
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
-
-