![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.AffectedSectionStructure 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;
import uk.org.ifopt.siri21.StopPlaceRef;
/**
* Type for information about the SECTIONs affected by a SITUATION.
*
* Java class for AffectedSectionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedSectionStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="SectionRef" type="{http://www.siri.org.uk/siri}SectionRefStructure" minOccurs="0"/>
* <element name="IndirectSectionRef">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="FirstStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="FirstStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="FirstQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="IntermediateStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="IntermediateStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="IntermediateQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* <choice>
* <element name="LastStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="LastStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="LastQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <group ref="{http://www.siri.org.uk/siri}ProjectionGroup"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedSectionStructure", propOrder = {
"indirectSectionRef",
"sectionRef",
"linkProjection",
"offset",
"extensions"
})
public class AffectedSectionStructure
implements Serializable
{
@XmlElement(name = "IndirectSectionRef")
protected AffectedSectionStructure.IndirectSectionRef indirectSectionRef;
@XmlElement(name = "SectionRef")
protected SectionRefStructure sectionRef;
@XmlElement(name = "LinkProjection")
protected LinkProjection linkProjection;
@XmlElement(name = "Offset")
protected OffsetStructure offset;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the indirectSectionRef property.
*
* @return
* possible object is
* {@link AffectedSectionStructure.IndirectSectionRef }
*
*/
public AffectedSectionStructure.IndirectSectionRef getIndirectSectionRef() {
return indirectSectionRef;
}
/**
* Sets the value of the indirectSectionRef property.
*
* @param value
* allowed object is
* {@link AffectedSectionStructure.IndirectSectionRef }
*
*/
public void setIndirectSectionRef(AffectedSectionStructure.IndirectSectionRef value) {
this.indirectSectionRef = value;
}
/**
* Gets the value of the sectionRef property.
*
* @return
* possible object is
* {@link SectionRefStructure }
*
*/
public SectionRefStructure getSectionRef() {
return sectionRef;
}
/**
* Sets the value of the sectionRef property.
*
* @param value
* allowed object is
* {@link SectionRefStructure }
*
*/
public void setSectionRef(SectionRefStructure value) {
this.sectionRef = value;
}
/**
* Gets the value of the linkProjection property.
*
* @return
* possible object is
* {@link LinkProjection }
*
*/
public LinkProjection getLinkProjection() {
return linkProjection;
}
/**
* Sets the value of the linkProjection property.
*
* @param value
* allowed object is
* {@link LinkProjection }
*
*/
public void setLinkProjection(LinkProjection value) {
this.linkProjection = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link OffsetStructure }
*
*/
public OffsetStructure getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link OffsetStructure }
*
*/
public void setOffset(OffsetStructure value) {
this.offset = 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>
* <choice>
* <element name="FirstStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="FirstStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="FirstQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="IntermediateStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="IntermediateStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="IntermediateQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* <choice>
* <element name="LastStopPointRef" type="{http://www.siri.org.uk/siri}StopPointRefStructure"/>
* <element name="LastStopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="LastQuayRef" type="{http://www.siri.org.uk/siri}QuayRefStructure"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"firstQuayRef",
"firstStopPlaceRef",
"firstStopPointRef",
"intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves",
"lastQuayRef",
"lastStopPlaceRef",
"lastStopPointRef"
})
public static class IndirectSectionRef
implements Serializable
{
@XmlElement(name = "FirstQuayRef")
protected QuayRefStructure firstQuayRef;
@XmlElement(name = "FirstStopPlaceRef")
protected StopPlaceRef firstStopPlaceRef;
@XmlElement(name = "FirstStopPointRef")
protected StopPointRefStructure firstStopPointRef;
@XmlElements({
@XmlElement(name = "IntermediateStopPointRef", type = StopPointRefStructure.class),
@XmlElement(name = "IntermediateStopPlaceRef", type = StopPlaceRef.class),
@XmlElement(name = "IntermediateQuayRef", type = QuayRefStructure.class)
})
protected List intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves;
@XmlElement(name = "LastQuayRef")
protected QuayRefStructure lastQuayRef;
@XmlElement(name = "LastStopPlaceRef")
protected StopPlaceRef lastStopPlaceRef;
@XmlElement(name = "LastStopPointRef")
protected StopPointRefStructure lastStopPointRef;
/**
* Gets the value of the firstQuayRef property.
*
* @return
* possible object is
* {@link QuayRefStructure }
*
*/
public QuayRefStructure getFirstQuayRef() {
return firstQuayRef;
}
/**
* Sets the value of the firstQuayRef property.
*
* @param value
* allowed object is
* {@link QuayRefStructure }
*
*/
public void setFirstQuayRef(QuayRefStructure value) {
this.firstQuayRef = value;
}
/**
* Gets the value of the firstStopPlaceRef property.
*
* @return
* possible object is
* {@link StopPlaceRef }
*
*/
public StopPlaceRef getFirstStopPlaceRef() {
return firstStopPlaceRef;
}
/**
* Sets the value of the firstStopPlaceRef property.
*
* @param value
* allowed object is
* {@link StopPlaceRef }
*
*/
public void setFirstStopPlaceRef(StopPlaceRef value) {
this.firstStopPlaceRef = value;
}
/**
* Gets the value of the firstStopPointRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getFirstStopPointRef() {
return firstStopPointRef;
}
/**
* Sets the value of the firstStopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setFirstStopPointRef(StopPointRefStructure value) {
this.firstStopPointRef = value;
}
/**
* Gets the value of the intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves 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 intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves property.
*
*
* For example, to add a new item, do as follows:
*
* getIntermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StopPlaceRef }
* {@link QuayRefStructure }
* {@link StopPointRefStructure }
*
*
*/
public List getIntermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves() {
if (intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves == null) {
intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves = new ArrayList();
}
return this.intermediateStopPointRevesAndIntermediateStopPlaceRevesAndIntermediateQuayReves;
}
/**
* Gets the value of the lastQuayRef property.
*
* @return
* possible object is
* {@link QuayRefStructure }
*
*/
public QuayRefStructure getLastQuayRef() {
return lastQuayRef;
}
/**
* Sets the value of the lastQuayRef property.
*
* @param value
* allowed object is
* {@link QuayRefStructure }
*
*/
public void setLastQuayRef(QuayRefStructure value) {
this.lastQuayRef = value;
}
/**
* Gets the value of the lastStopPlaceRef property.
*
* @return
* possible object is
* {@link StopPlaceRef }
*
*/
public StopPlaceRef getLastStopPlaceRef() {
return lastStopPlaceRef;
}
/**
* Sets the value of the lastStopPlaceRef property.
*
* @param value
* allowed object is
* {@link StopPlaceRef }
*
*/
public void setLastStopPlaceRef(StopPlaceRef value) {
this.lastStopPlaceRef = value;
}
/**
* Gets the value of the lastStopPointRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getLastStopPointRef() {
return lastStopPointRef;
}
/**
* Sets the value of the lastStopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setLastStopPointRef(StopPointRefStructure value) {
this.lastStopPointRef = value;
}
}
}