Package uk.org.siri.siri13
Class AffectedRouteStructure
- java.lang.Object
-
- uk.org.siri.siri13.AffectedRouteStructure
-
- All Implemented Interfaces:
Serializable
public class AffectedRouteStructure extends Object implements Serializable
Type for information about the routes affected by a SituationJava 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="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.
-
Field Summary
Fields Modifier and Type Field Description protected List<Direction>directionsprotected Extensionsextensionsprotected AffectedRouteStructure.RouteLinksrouteLinksprotected RouteRefStructurerouteRefprotected AffectedRouteStructure.Sectionssections
-
Constructor Summary
Constructors Constructor Description AffectedRouteStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Direction>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.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.
-
-
-
Field Detail
-
routeRef
protected RouteRefStructure routeRef
-
sections
protected AffectedRouteStructure.Sections sections
-
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<Direction> 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
Direction
-
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
-
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
-
-