![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.AffectedRouteStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:41 PM UTC
//
package uk.org.siri.siri21;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlType;
import uk.org.ifopt.siri21.LinkProjection;
/**
* 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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedRouteStructure", propOrder = {
"routeRef",
"directions",
"sections",
"stopPoints",
"routeLinks",
"extensions"
})
public class AffectedRouteStructure
implements Serializable
{
@XmlElement(name = "RouteRef")
protected RouteRefStructure routeRef;
@XmlElement(name = "Direction")
protected List directions;
@XmlElement(name = "Sections")
protected AffectedRouteStructure.Sections sections;
@XmlElement(name = "StopPoints")
protected AffectedRouteStructure.StopPoints stopPoints;
@XmlElement(name = "RouteLinks")
protected AffectedRouteStructure.RouteLinks routeLinks;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the routeRef property.
*
* @return
* possible object is
* {@link RouteRefStructure }
*
*/
public RouteRefStructure getRouteRef() {
return routeRef;
}
/**
* Sets the value of the routeRef property.
*
* @param value
* allowed object is
* {@link RouteRefStructure }
*
*/
public void setRouteRef(RouteRefStructure value) {
this.routeRef = value;
}
/**
* 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 Jakarta XML Binding object.
* This is why there is not a set
method 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
* {@link DirectionStructure }
*
*
*/
public List getDirections() {
if (directions == null) {
directions = new ArrayList();
}
return this.directions;
}
/**
* Gets the value of the sections property.
*
* @return
* possible object is
* {@link AffectedRouteStructure.Sections }
*
*/
public AffectedRouteStructure.Sections getSections() {
return sections;
}
/**
* Sets the value of the sections property.
*
* @param value
* allowed object is
* {@link AffectedRouteStructure.Sections }
*
*/
public void setSections(AffectedRouteStructure.Sections value) {
this.sections = value;
}
/**
* Gets the value of the stopPoints property.
*
* @return
* possible object is
* {@link AffectedRouteStructure.StopPoints }
*
*/
public AffectedRouteStructure.StopPoints getStopPoints() {
return stopPoints;
}
/**
* Sets the value of the stopPoints property.
*
* @param value
* allowed object is
* {@link AffectedRouteStructure.StopPoints }
*
*/
public void setStopPoints(AffectedRouteStructure.StopPoints value) {
this.stopPoints = value;
}
/**
* Gets the value of the routeLinks property.
*
* @return
* possible object is
* {@link AffectedRouteStructure.RouteLinks }
*
*/
public AffectedRouteStructure.RouteLinks getRouteLinks() {
return routeLinks;
}
/**
* Sets the value of the routeLinks property.
*
* @param value
* allowed object is
* {@link AffectedRouteStructure.RouteLinks }
*
*/
public void setRouteLinks(AffectedRouteStructure.RouteLinks value) {
this.routeLinks = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link Extensions }
*
*/
public Extensions getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link Extensions }
*
*/
public void setExtensions(Extensions value) {
this.extensions = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"routeLinkReves"
})
public static class RouteLinks
implements Serializable
{
@XmlElement(name = "RouteLinkRef", required = true)
protected List routeLinkReves;
/**
* Gets the value of the routeLinkReves 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 set
method for the routeLinkReves property.
*
*
* For example, to add a new item, do as follows:
*
* getRouteLinkReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RouteLinkRefStructure }
*
*
*/
public List getRouteLinkReves() {
if (routeLinkReves == null) {
routeLinkReves = new ArrayList();
}
return this.routeLinkReves;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedSections"
})
public static class Sections
implements Serializable
{
@XmlElement(name = "AffectedSection", required = true)
protected List affectedSections;
/**
* Gets the value of the affectedSections 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 set
method for the affectedSections property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedSections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedSectionStructure }
*
*
*/
public List getAffectedSections() {
if (affectedSections == null) {
affectedSections = new ArrayList();
}
return this.affectedSections;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedOnly",
"affectedStopPointsAndLinkProjectionToNextStopPoints"
})
public static class StopPoints
implements Serializable
{
@XmlElement(name = "AffectedOnly", defaultValue = "false")
protected Boolean affectedOnly;
@XmlElements({
@XmlElement(name = "AffectedStopPoint", required = true, type = AffectedStopPointStructure.class),
@XmlElement(name = "LinkProjectionToNextStopPoint", required = true, type = LinkProjection.class)
})
protected List affectedStopPointsAndLinkProjectionToNextStopPoints;
/**
* Gets the value of the affectedOnly property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAffectedOnly() {
return affectedOnly;
}
/**
* Sets the value of the affectedOnly property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAffectedOnly(Boolean value) {
this.affectedOnly = value;
}
/**
* Gets the value of the affectedStopPointsAndLinkProjectionToNextStopPoints 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 set
method for the affectedStopPointsAndLinkProjectionToNextStopPoints property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedStopPointsAndLinkProjectionToNextStopPoints().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LinkProjection }
* {@link AffectedStopPointStructure }
*
*
*/
public List getAffectedStopPointsAndLinkProjectionToNextStopPoints() {
if (affectedStopPointsAndLinkProjectionToNextStopPoints == null) {
affectedStopPointsAndLinkProjectionToNextStopPoints = new ArrayList();
}
return this.affectedStopPointsAndLinkProjectionToNextStopPoints;
}
}
}