![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.VehicleMonitoringRequestStructure 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.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;
/**
* Type for Functional Service Request for Vehicle Monitoring Service.
*
* Java class for VehicleMonitoringRequestStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VehicleMonitoringRequestStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractFunctionalServiceRequestStructure">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}VehicleMonitoringTopicGroup"/>
* <group ref="{http://www.siri.org.uk/siri}VehicleMonitoringRequestPolicyGroup"/>
* <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 = "VehicleMonitoringRequestStructure", propOrder = {
"vehicleMonitoringRef",
"lineRef",
"vehicleRef",
"directionRef",
"languages",
"includeTranslations",
"maximumVehicles",
"vehicleMonitoringDetailLevel",
"maximumNumberOfCalls",
"includeSituations",
"extensions"
})
public class VehicleMonitoringRequestStructure
extends AbstractFunctionalServiceRequestStructure
implements Serializable
{
@XmlElement(name = "VehicleMonitoringRef")
protected VehicleMonitoringRefStructure vehicleMonitoringRef;
@XmlElement(name = "LineRef")
protected LineRef lineRef;
@XmlElement(name = "VehicleRef")
protected VehicleRef vehicleRef;
@XmlElement(name = "DirectionRef")
protected DirectionRefStructure directionRef;
@XmlElement(name = "Language", defaultValue = "en")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected List languages;
@XmlElement(name = "IncludeTranslations", defaultValue = "false")
protected Boolean includeTranslations;
@XmlElement(name = "MaximumVehicles")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger maximumVehicles;
@XmlElement(name = "VehicleMonitoringDetailLevel")
@XmlSchemaType(name = "NMTOKEN")
protected VehicleMonitoringDetailEnumeration vehicleMonitoringDetailLevel;
@XmlElement(name = "MaximumNumberOfCalls")
protected VehicleMonitoringRequestStructure.MaximumNumberOfCalls maximumNumberOfCalls;
@XmlElement(name = "IncludeSituations")
protected Boolean includeSituations;
@XmlElement(name = "Extensions")
protected Extensions extensions;
@XmlAttribute(name = "version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String version;
/**
* Gets the value of the vehicleMonitoringRef property.
*
* @return
* possible object is
* {@link VehicleMonitoringRefStructure }
*
*/
public VehicleMonitoringRefStructure getVehicleMonitoringRef() {
return vehicleMonitoringRef;
}
/**
* Sets the value of the vehicleMonitoringRef property.
*
* @param value
* allowed object is
* {@link VehicleMonitoringRefStructure }
*
*/
public void setVehicleMonitoringRef(VehicleMonitoringRefStructure value) {
this.vehicleMonitoringRef = 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 vehicleRef property.
*
* @return
* possible object is
* {@link VehicleRef }
*
*/
public VehicleRef getVehicleRef() {
return vehicleRef;
}
/**
* Sets the value of the vehicleRef property.
*
* @param value
* allowed object is
* {@link VehicleRef }
*
*/
public void setVehicleRef(VehicleRef value) {
this.vehicleRef = 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 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 maximumVehicles property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumVehicles() {
return maximumVehicles;
}
/**
* Sets the value of the maximumVehicles property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumVehicles(BigInteger value) {
this.maximumVehicles = value;
}
/**
* Gets the value of the vehicleMonitoringDetailLevel property.
*
* @return
* possible object is
* {@link VehicleMonitoringDetailEnumeration }
*
*/
public VehicleMonitoringDetailEnumeration getVehicleMonitoringDetailLevel() {
return vehicleMonitoringDetailLevel;
}
/**
* Sets the value of the vehicleMonitoringDetailLevel property.
*
* @param value
* allowed object is
* {@link VehicleMonitoringDetailEnumeration }
*
*/
public void setVehicleMonitoringDetailLevel(VehicleMonitoringDetailEnumeration value) {
this.vehicleMonitoringDetailLevel = value;
}
/**
* Gets the value of the maximumNumberOfCalls property.
*
* @return
* possible object is
* {@link VehicleMonitoringRequestStructure.MaximumNumberOfCalls }
*
*/
public VehicleMonitoringRequestStructure.MaximumNumberOfCalls getMaximumNumberOfCalls() {
return maximumNumberOfCalls;
}
/**
* Sets the value of the maximumNumberOfCalls property.
*
* @param value
* allowed object is
* {@link VehicleMonitoringRequestStructure.MaximumNumberOfCalls }
*
*/
public void setMaximumNumberOfCalls(VehicleMonitoringRequestStructure.MaximumNumberOfCalls value) {
this.maximumNumberOfCalls = 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 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;
}
/**
* 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="Previous" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="Onwards" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"previous",
"onwards"
})
public static class MaximumNumberOfCalls
implements Serializable
{
@XmlElement(name = "Previous")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger previous;
@XmlElement(name = "Onwards")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger onwards;
/**
* Gets the value of the previous property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPrevious() {
return previous;
}
/**
* Sets the value of the previous property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPrevious(BigInteger value) {
this.previous = value;
}
/**
* Gets the value of the onwards property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOnwards() {
return onwards;
}
/**
* Sets the value of the onwards property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOnwards(BigInteger value) {
this.onwards = value;
}
}
}