![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.StopMonitoringRequestStructure 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.math.BigInteger;
import java.time.Duration;
import java.time.ZonedDateTime;
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.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.entur.siri.adapter.DurationXmlAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Type for Functional Service Request for Stop Monitoring Service.
*
* Java class for StopMonitoringRequestStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StopMonitoringRequestStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractFunctionalServiceRequestStructure">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}StopMonitoringTopicGroup"/>
* <group ref="{http://www.siri.org.uk/siri}StopMonitoringRequestPolicyGroup"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* <attribute name="version" type="{http://www.siri.org.uk/siri}VersionString" default="2.1" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StopMonitoringRequestStructure", propOrder = {
"previewInterval",
"startTime",
"monitoringRef",
"operatorRef",
"lineRef",
"directionRef",
"destinationRef",
"stopVisitTypes",
"languages",
"includeTranslations",
"maximumStopVisits",
"minimumStopVisitsPerLineVia",
"minimumStopVisitsPerLine",
"maximumTextLength",
"stopMonitoringDetailLevel",
"includeSituations",
"maximumNumberOfCalls",
"extensions"
})
public class StopMonitoringRequestStructure
extends AbstractFunctionalServiceRequestStructure
implements Serializable
{
@XmlElement(name = "PreviewInterval", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration previewInterval;
@XmlElement(name = "StartTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime startTime;
@XmlElement(name = "MonitoringRef", required = true)
protected MonitoringRefStructure monitoringRef;
@XmlElement(name = "OperatorRef")
protected OperatorRefStructure operatorRef;
@XmlElement(name = "LineRef")
protected LineRef lineRef;
@XmlElement(name = "DirectionRef")
protected DirectionRefStructure directionRef;
@XmlElement(name = "DestinationRef")
protected DestinationRef destinationRef;
@XmlElement(name = "StopVisitTypes", defaultValue = "all")
@XmlSchemaType(name = "NMTOKEN")
protected StopVisitTypeEnumeration stopVisitTypes;
@XmlElement(name = "Language", defaultValue = "en")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected List languages;
@XmlElement(name = "IncludeTranslations", defaultValue = "false")
protected Boolean includeTranslations;
@XmlElement(name = "MaximumStopVisits")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger maximumStopVisits;
@XmlElement(name = "MinimumStopVisitsPerLineVia")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger minimumStopVisitsPerLineVia;
@XmlElement(name = "MinimumStopVisitsPerLine")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger minimumStopVisitsPerLine;
@XmlElement(name = "MaximumTextLength", defaultValue = "30")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger maximumTextLength;
@XmlElement(name = "StopMonitoringDetailLevel", defaultValue = "normal")
@XmlSchemaType(name = "NMTOKEN")
protected StopMonitoringDetailEnumeration stopMonitoringDetailLevel;
@XmlElement(name = "IncludeSituations", defaultValue = "false")
protected Boolean includeSituations;
@XmlElement(name = "MaximumNumberOfCalls")
protected uk.org.siri.siri21.StopMonitoringFilterStructure.MaximumNumberOfCalls maximumNumberOfCalls;
@XmlElement(name = "Extensions")
protected Extensions extensions;
@XmlAttribute(name = "version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String version;
/**
* Gets the value of the previewInterval property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getPreviewInterval() {
return previewInterval;
}
/**
* Sets the value of the previewInterval property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPreviewInterval(Duration value) {
this.previewInterval = value;
}
/**
* Gets the value of the startTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getStartTime() {
return startTime;
}
/**
* Sets the value of the startTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStartTime(ZonedDateTime value) {
this.startTime = value;
}
/**
* 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 operatorRef property.
*
* @return
* possible object is
* {@link OperatorRefStructure }
*
*/
public OperatorRefStructure getOperatorRef() {
return operatorRef;
}
/**
* Sets the value of the operatorRef property.
*
* @param value
* allowed object is
* {@link OperatorRefStructure }
*
*/
public void setOperatorRef(OperatorRefStructure value) {
this.operatorRef = value;
}
/**
* Gets the value of the lineRef property.
*
* @return
* possible object is
* {@link LineRef }
*
*/
public LineRef getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link LineRef }
*
*/
public void setLineRef(LineRef value) {
this.lineRef = value;
}
/**
* Gets the value of the directionRef property.
*
* @return
* possible object is
* {@link DirectionRefStructure }
*
*/
public DirectionRefStructure getDirectionRef() {
return directionRef;
}
/**
* Sets the value of the directionRef property.
*
* @param value
* allowed object is
* {@link DirectionRefStructure }
*
*/
public void setDirectionRef(DirectionRefStructure value) {
this.directionRef = value;
}
/**
* Gets the value of the destinationRef property.
*
* @return
* possible object is
* {@link DestinationRef }
*
*/
public DestinationRef getDestinationRef() {
return destinationRef;
}
/**
* Sets the value of the destinationRef property.
*
* @param value
* allowed object is
* {@link DestinationRef }
*
*/
public void setDestinationRef(DestinationRef value) {
this.destinationRef = value;
}
/**
* Gets the value of the stopVisitTypes property.
*
* @return
* possible object is
* {@link StopVisitTypeEnumeration }
*
*/
public StopVisitTypeEnumeration getStopVisitTypes() {
return stopVisitTypes;
}
/**
* Sets the value of the stopVisitTypes property.
*
* @param value
* allowed object is
* {@link StopVisitTypeEnumeration }
*
*/
public void setStopVisitTypes(StopVisitTypeEnumeration value) {
this.stopVisitTypes = value;
}
/**
* Gets the value of the languages 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 languages property.
*
*
* For example, to add a new item, do as follows:
*
* getLanguages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLanguages() {
if (languages == null) {
languages = new ArrayList();
}
return this.languages;
}
/**
* Gets the value of the includeTranslations property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIncludeTranslations() {
return includeTranslations;
}
/**
* Sets the value of the includeTranslations property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludeTranslations(Boolean value) {
this.includeTranslations = value;
}
/**
* Gets the value of the maximumStopVisits property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumStopVisits() {
return maximumStopVisits;
}
/**
* Sets the value of the maximumStopVisits property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumStopVisits(BigInteger value) {
this.maximumStopVisits = value;
}
/**
* Gets the value of the minimumStopVisitsPerLineVia property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMinimumStopVisitsPerLineVia() {
return minimumStopVisitsPerLineVia;
}
/**
* Sets the value of the minimumStopVisitsPerLineVia property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMinimumStopVisitsPerLineVia(BigInteger value) {
this.minimumStopVisitsPerLineVia = value;
}
/**
* Gets the value of the minimumStopVisitsPerLine property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMinimumStopVisitsPerLine() {
return minimumStopVisitsPerLine;
}
/**
* Sets the value of the minimumStopVisitsPerLine property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMinimumStopVisitsPerLine(BigInteger value) {
this.minimumStopVisitsPerLine = value;
}
/**
* Gets the value of the maximumTextLength property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumTextLength() {
return maximumTextLength;
}
/**
* Sets the value of the maximumTextLength property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumTextLength(BigInteger value) {
this.maximumTextLength = value;
}
/**
* Gets the value of the stopMonitoringDetailLevel property.
*
* @return
* possible object is
* {@link StopMonitoringDetailEnumeration }
*
*/
public StopMonitoringDetailEnumeration getStopMonitoringDetailLevel() {
return stopMonitoringDetailLevel;
}
/**
* Sets the value of the stopMonitoringDetailLevel property.
*
* @param value
* allowed object is
* {@link StopMonitoringDetailEnumeration }
*
*/
public void setStopMonitoringDetailLevel(StopMonitoringDetailEnumeration value) {
this.stopMonitoringDetailLevel = value;
}
/**
* Gets the value of the includeSituations property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIncludeSituations() {
return includeSituations;
}
/**
* Sets the value of the includeSituations property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludeSituations(Boolean value) {
this.includeSituations = value;
}
/**
* Gets the value of the maximumNumberOfCalls property.
*
* @return
* possible object is
* {@link uk.org.siri.siri21.StopMonitoringFilterStructure.MaximumNumberOfCalls }
*
*/
public uk.org.siri.siri21.StopMonitoringFilterStructure.MaximumNumberOfCalls getMaximumNumberOfCalls() {
return maximumNumberOfCalls;
}
/**
* Sets the value of the maximumNumberOfCalls property.
*
* @param value
* allowed object is
* {@link uk.org.siri.siri21.StopMonitoringFilterStructure.MaximumNumberOfCalls }
*
*/
public void setMaximumNumberOfCalls(uk.org.siri.siri21.StopMonitoringFilterStructure.MaximumNumberOfCalls value) {
this.maximumNumberOfCalls = 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;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
if (version == null) {
return "2.1";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}