![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.StopNotice 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:39 PM UTC
//
package uk.org.siri.siri20;
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.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Type for Notice for stop
*
* Java class for StopNoticeStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StopNoticeStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractRequiredIdentifiedItemStructure">
* <sequence>
* <element name="MonitoringRef" type="{http://www.siri.org.uk/siri}MonitoringRefStructure"/>
* <element ref="{http://www.siri.org.uk/siri}StopPointRef" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}SituationRef" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopNote" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StopNoticeStructure", propOrder = {
"monitoringRef",
"stopPointRef",
"situationReves",
"stopNotes",
"extensions"
})
@XmlRootElement(name = "StopNotice")
public class StopNotice
extends AbstractRequiredIdentifiedItemStructure
implements Serializable
{
@XmlElement(name = "MonitoringRef", required = true)
protected MonitoringRefStructure monitoringRef;
@XmlElement(name = "StopPointRef")
protected StopPointRef stopPointRef;
@XmlElement(name = "SituationRef")
protected List situationReves;
@XmlElement(name = "StopNote")
protected List stopNotes;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the monitoringRef property.
*
* @return
* possible object is
* {@link MonitoringRefStructure }
*
*/
public MonitoringRefStructure getMonitoringRef() {
return monitoringRef;
}
/**
* Sets the value of the monitoringRef property.
*
* @param value
* allowed object is
* {@link MonitoringRefStructure }
*
*/
public void setMonitoringRef(MonitoringRefStructure value) {
this.monitoringRef = value;
}
/**
* Gets the value of the stopPointRef property.
*
* @return
* possible object is
* {@link StopPointRef }
*
*/
public StopPointRef getStopPointRef() {
return stopPointRef;
}
/**
* Sets the value of the stopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRef }
*
*/
public void setStopPointRef(StopPointRef value) {
this.stopPointRef = value;
}
/**
* Gets the value of the situationReves 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 situationReves property.
*
*
* For example, to add a new item, do as follows:
*
* getSituationReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SituationRef }
*
*
*/
public List getSituationReves() {
if (situationReves == null) {
situationReves = new ArrayList();
}
return this.situationReves;
}
/**
* Gets the value of the stopNotes 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 stopNotes property.
*
*
* For example, to add a new item, do as follows:
*
* getStopNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getStopNotes() {
if (stopNotes == null) {
stopNotes = new ArrayList();
}
return this.stopNotes;
}
/**
* 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;
}
}