uk.org.siri.siri21.RouteDirectionStructure 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.XmlType;
/**
* Summary information about a Direction of a Line
*
* Java class for RouteDirectionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RouteDirectionStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}DirectionStructure">
* <sequence>
* <element name="JourneyPatterns" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="JourneyPattern" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.siri.org.uk/siri}JourneyPatternRef" minOccurs="0"/>
* <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopsInPattern" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StopPointInPattern" type="{http://www.siri.org.uk/siri}StopPointInPatternStructure" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RouteDirectionStructure", propOrder = {
"journeyPatterns",
"extensions"
})
public class RouteDirectionStructure
extends DirectionStructure
implements Serializable
{
@XmlElement(name = "JourneyPatterns")
protected RouteDirectionStructure.JourneyPatterns journeyPatterns;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the journeyPatterns property.
*
* @return
* possible object is
* {@link RouteDirectionStructure.JourneyPatterns }
*
*/
public RouteDirectionStructure.JourneyPatterns getJourneyPatterns() {
return journeyPatterns;
}
/**
* Sets the value of the journeyPatterns property.
*
* @param value
* allowed object is
* {@link RouteDirectionStructure.JourneyPatterns }
*
*/
public void setJourneyPatterns(RouteDirectionStructure.JourneyPatterns value) {
this.journeyPatterns = 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="JourneyPattern" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.siri.org.uk/siri}JourneyPatternRef" minOccurs="0"/>
* <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopsInPattern" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StopPointInPattern" type="{http://www.siri.org.uk/siri}StopPointInPatternStructure" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"journeyPatterns"
})
public static class JourneyPatterns
implements Serializable
{
@XmlElement(name = "JourneyPattern", required = true)
protected List journeyPatterns;
/**
* Gets the value of the journeyPatterns 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 journeyPatterns property.
*
*
* For example, to add a new item, do as follows:
*
* getJourneyPatterns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RouteDirectionStructure.JourneyPatterns.JourneyPattern }
*
*
*/
public List getJourneyPatterns() {
if (journeyPatterns == null) {
journeyPatterns = new ArrayList();
}
return this.journeyPatterns;
}
/**
* 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 ref="{http://www.siri.org.uk/siri}JourneyPatternRef" minOccurs="0"/>
* <element name="Name" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopsInPattern" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="StopPointInPattern" type="{http://www.siri.org.uk/siri}StopPointInPatternStructure" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"journeyPatternRef",
"names",
"stopsInPattern"
})
public static class JourneyPattern
implements Serializable
{
@XmlElement(name = "JourneyPatternRef")
protected JourneyPatternRef journeyPatternRef;
@XmlElement(name = "Name")
protected List names;
@XmlElement(name = "StopsInPattern")
protected RouteDirectionStructure.JourneyPatterns.JourneyPattern.StopsInPattern stopsInPattern;
/**
* Gets the value of the journeyPatternRef property.
*
* @return
* possible object is
* {@link JourneyPatternRef }
*
*/
public JourneyPatternRef getJourneyPatternRef() {
return journeyPatternRef;
}
/**
* Sets the value of the journeyPatternRef property.
*
* @param value
* allowed object is
* {@link JourneyPatternRef }
*
*/
public void setJourneyPatternRef(JourneyPatternRef value) {
this.journeyPatternRef = value;
}
/**
* Gets the value of the names 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 names property.
*
*
* For example, to add a new item, do as follows:
*
* getNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getNames() {
if (names == null) {
names = new ArrayList();
}
return this.names;
}
/**
* Gets the value of the stopsInPattern property.
*
* @return
* possible object is
* {@link RouteDirectionStructure.JourneyPatterns.JourneyPattern.StopsInPattern }
*
*/
public RouteDirectionStructure.JourneyPatterns.JourneyPattern.StopsInPattern getStopsInPattern() {
return stopsInPattern;
}
/**
* Sets the value of the stopsInPattern property.
*
* @param value
* allowed object is
* {@link RouteDirectionStructure.JourneyPatterns.JourneyPattern.StopsInPattern }
*
*/
public void setStopsInPattern(RouteDirectionStructure.JourneyPatterns.JourneyPattern.StopsInPattern value) {
this.stopsInPattern = 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="StopPointInPattern" type="{http://www.siri.org.uk/siri}StopPointInPatternStructure" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stopPointInPatterns"
})
public static class StopsInPattern
implements Serializable
{
@XmlElement(name = "StopPointInPattern", required = true)
protected List stopPointInPatterns;
/**
* Gets the value of the stopPointInPatterns 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 stopPointInPatterns property.
*
*
* For example, to add a new item, do as follows:
*
* getStopPointInPatterns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StopPointInPatternStructure }
*
*
*/
public List getStopPointInPatterns() {
if (stopPointInPatterns == null) {
stopPointInPatterns = new ArrayList();
}
return this.stopPointInPatterns;
}
}
}
}
}