![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.AffectedStopPlaceStructure 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import uk.org.ifopt.siri21.NavigationPathRef;
import uk.org.ifopt.siri21.StopPlaceRef;
/**
* Type for information about the STOP PLACEs affected by an SITUATION.
*
* Java class for AffectedStopPlaceStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedStopPlaceStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AffectedStopPlaceElementStructure">
* <sequence>
* <element name="StopPlaceRef" type="{http://www.ifopt.org.uk/ifopt}StopPlaceRefStructure"/>
* <element name="PlaceName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopPlaceType" type="{http://www.siri.org.uk/siri}StopPlaceTypeEnumeration" minOccurs="0"/>
* <element name="AffectedFacilities" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedFacility" type="{http://www.siri.org.uk/siri}AffectedFacilityStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="AffectedComponents" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedComponent" type="{http://www.siri.org.uk/siri}AffectedStopPlaceComponentStructure" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="AffectedNavigationPaths" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="NavigationPathRef" type="{http://www.ifopt.org.uk/ifopt}NavigationPathRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Lines" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedLine" type="{http://www.siri.org.uk/siri}AffectedLineStructure" maxOccurs="unbounded"/>
* </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 = "AffectedStopPlaceStructure", propOrder = {
"stopPlaceRef",
"placeNames",
"stopPlaceType",
"affectedFacilities",
"affectedComponents",
"affectedNavigationPaths",
"lines",
"extensions"
})
public class AffectedStopPlaceStructure
extends AffectedStopPlaceElementStructure
implements Serializable
{
@XmlElement(name = "StopPlaceRef", required = true)
protected StopPlaceRef stopPlaceRef;
@XmlElement(name = "PlaceName")
protected List placeNames;
@XmlElement(name = "StopPlaceType")
@XmlSchemaType(name = "string")
protected StopPlaceTypeEnumeration stopPlaceType;
@XmlElement(name = "AffectedFacilities")
protected AffectedStopPlaceStructure.AffectedFacilities affectedFacilities;
@XmlElement(name = "AffectedComponents")
protected AffectedStopPlaceStructure.AffectedComponents affectedComponents;
@XmlElement(name = "AffectedNavigationPaths")
protected AffectedStopPlaceStructure.AffectedNavigationPaths affectedNavigationPaths;
@XmlElement(name = "Lines")
protected AffectedStopPlaceStructure.Lines lines;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the stopPlaceRef property.
*
* @return
* possible object is
* {@link StopPlaceRef }
*
*/
public StopPlaceRef getStopPlaceRef() {
return stopPlaceRef;
}
/**
* Sets the value of the stopPlaceRef property.
*
* @param value
* allowed object is
* {@link StopPlaceRef }
*
*/
public void setStopPlaceRef(StopPlaceRef value) {
this.stopPlaceRef = value;
}
/**
* Gets the value of the placeNames 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 placeNames property.
*
*
* For example, to add a new item, do as follows:
*
* getPlaceNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getPlaceNames() {
if (placeNames == null) {
placeNames = new ArrayList();
}
return this.placeNames;
}
/**
* Gets the value of the stopPlaceType property.
*
* @return
* possible object is
* {@link StopPlaceTypeEnumeration }
*
*/
public StopPlaceTypeEnumeration getStopPlaceType() {
return stopPlaceType;
}
/**
* Sets the value of the stopPlaceType property.
*
* @param value
* allowed object is
* {@link StopPlaceTypeEnumeration }
*
*/
public void setStopPlaceType(StopPlaceTypeEnumeration value) {
this.stopPlaceType = value;
}
/**
* Gets the value of the affectedFacilities property.
*
* @return
* possible object is
* {@link AffectedStopPlaceStructure.AffectedFacilities }
*
*/
public AffectedStopPlaceStructure.AffectedFacilities getAffectedFacilities() {
return affectedFacilities;
}
/**
* Sets the value of the affectedFacilities property.
*
* @param value
* allowed object is
* {@link AffectedStopPlaceStructure.AffectedFacilities }
*
*/
public void setAffectedFacilities(AffectedStopPlaceStructure.AffectedFacilities value) {
this.affectedFacilities = value;
}
/**
* Gets the value of the affectedComponents property.
*
* @return
* possible object is
* {@link AffectedStopPlaceStructure.AffectedComponents }
*
*/
public AffectedStopPlaceStructure.AffectedComponents getAffectedComponents() {
return affectedComponents;
}
/**
* Sets the value of the affectedComponents property.
*
* @param value
* allowed object is
* {@link AffectedStopPlaceStructure.AffectedComponents }
*
*/
public void setAffectedComponents(AffectedStopPlaceStructure.AffectedComponents value) {
this.affectedComponents = value;
}
/**
* Gets the value of the affectedNavigationPaths property.
*
* @return
* possible object is
* {@link AffectedStopPlaceStructure.AffectedNavigationPaths }
*
*/
public AffectedStopPlaceStructure.AffectedNavigationPaths getAffectedNavigationPaths() {
return affectedNavigationPaths;
}
/**
* Sets the value of the affectedNavigationPaths property.
*
* @param value
* allowed object is
* {@link AffectedStopPlaceStructure.AffectedNavigationPaths }
*
*/
public void setAffectedNavigationPaths(AffectedStopPlaceStructure.AffectedNavigationPaths value) {
this.affectedNavigationPaths = value;
}
/**
* Gets the value of the lines property.
*
* @return
* possible object is
* {@link AffectedStopPlaceStructure.Lines }
*
*/
public AffectedStopPlaceStructure.Lines getLines() {
return lines;
}
/**
* Sets the value of the lines property.
*
* @param value
* allowed object is
* {@link AffectedStopPlaceStructure.Lines }
*
*/
public void setLines(AffectedStopPlaceStructure.Lines value) {
this.lines = 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="AffectedComponent" type="{http://www.siri.org.uk/siri}AffectedStopPlaceComponentStructure" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedComponents"
})
public static class AffectedComponents
implements Serializable
{
@XmlElement(name = "AffectedComponent")
protected List affectedComponents;
/**
* Gets the value of the affectedComponents 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 affectedComponents property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedComponents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPlaceComponentStructure }
*
*
*/
public List getAffectedComponents() {
if (affectedComponents == null) {
affectedComponents = new ArrayList();
}
return this.affectedComponents;
}
}
/**
* 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="AffectedFacility" type="{http://www.siri.org.uk/siri}AffectedFacilityStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedFacilities"
})
public static class AffectedFacilities
implements Serializable
{
@XmlElement(name = "AffectedFacility", required = true)
protected List affectedFacilities;
/**
* Gets the value of the affectedFacilities 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 affectedFacilities property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedFacilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedFacilityStructure }
*
*
*/
public List getAffectedFacilities() {
if (affectedFacilities == null) {
affectedFacilities = new ArrayList();
}
return this.affectedFacilities;
}
}
/**
* 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="NavigationPathRef" type="{http://www.ifopt.org.uk/ifopt}NavigationPathRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"navigationPathReves"
})
public static class AffectedNavigationPaths
implements Serializable
{
@XmlElement(name = "NavigationPathRef", required = true)
protected List navigationPathReves;
/**
* Gets the value of the navigationPathReves 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 navigationPathReves property.
*
*
* For example, to add a new item, do as follows:
*
* getNavigationPathReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NavigationPathRef }
*
*
*/
public List getNavigationPathReves() {
if (navigationPathReves == null) {
navigationPathReves = new ArrayList();
}
return this.navigationPathReves;
}
}
/**
* 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="AffectedLine" type="{http://www.siri.org.uk/siri}AffectedLineStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedLines"
})
public static class Lines
implements Serializable
{
@XmlElement(name = "AffectedLine", required = true)
protected List affectedLines;
/**
* Gets the value of the affectedLines 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 affectedLines property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedLines().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedLineStructure }
*
*
*/
public List getAffectedLines() {
if (affectedLines == null) {
affectedLines = new ArrayList();
}
return this.affectedLines;
}
}
}