![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.FacilityMonitoringRequestStructure 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;
import uk.org.ifopt.siri21.StopPlaceComponentRefStructure;
import uk.org.ifopt.siri21.StopPlaceRef;
/**
* Type for Functional Service Request for Facility Monitoring Service.
*
* Java class for FacilityMonitoringRequestStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FacilityMonitoringRequestStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractFunctionalServiceRequestStructure">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}FacilityMonitoringTopicGroup"/>
* <group ref="{http://www.siri.org.uk/siri}FacilityMonitoringRequestPolicyGroup"/>
* <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 = "FacilityMonitoringRequestStructure", propOrder = {
"previewInterval",
"startTime",
"facilityReves",
"featureReves",
"lineRef",
"stopPointRef",
"connectionLinkRef",
"vehicleJourneyRef",
"framedVehicleJourneyRef",
"interchangeRef",
"vehicleRef",
"stopPlaceRef",
"stopPlaceComponentRef",
"siteRef",
"accessibilityNeedsFilters",
"languages",
"includeTranslations",
"maximumNumberOfFacilityConditions",
"extensions"
})
public class FacilityMonitoringRequestStructure
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 = "FacilityRef")
protected List facilityReves;
@XmlElement(name = "FeatureRef")
protected List featureReves;
@XmlElement(name = "LineRef")
protected LineRef lineRef;
@XmlElement(name = "StopPointRef")
protected StopPointRefStructure stopPointRef;
@XmlElement(name = "ConnectionLinkRef")
protected ConnectionLinkRef connectionLinkRef;
@XmlElement(name = "VehicleJourneyRef")
protected VehicleJourneyRef vehicleJourneyRef;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@XmlElement(name = "InterchangeRef")
protected InterchangeRef interchangeRef;
@XmlElement(name = "VehicleRef")
protected VehicleRef vehicleRef;
@XmlElement(name = "StopPlaceRef")
protected StopPlaceRef stopPlaceRef;
@XmlElement(name = "StopPlaceComponentRef")
protected StopPlaceComponentRefStructure stopPlaceComponentRef;
@XmlElement(name = "SiteRef")
protected SiteRef siteRef;
@XmlElement(name = "AccessibilityNeedsFilter")
protected List accessibilityNeedsFilters;
@XmlElement(name = "Language", defaultValue = "en")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected List languages;
@XmlElement(name = "IncludeTranslations", defaultValue = "false")
protected Boolean includeTranslations;
@XmlElement(name = "MaximumNumberOfFacilityConditions")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger maximumNumberOfFacilityConditions;
@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 facilityReves 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 facilityReves property.
*
*
* For example, to add a new item, do as follows:
*
* getFacilityReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FacilityRef }
*
*
*/
public List getFacilityReves() {
if (facilityReves == null) {
facilityReves = new ArrayList();
}
return this.facilityReves;
}
/**
* Gets the value of the featureReves 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 featureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FeatureRef }
*
*
*/
public List getFeatureReves() {
if (featureReves == null) {
featureReves = new ArrayList();
}
return this.featureReves;
}
/**
* 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 stopPointRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getStopPointRef() {
return stopPointRef;
}
/**
* Sets the value of the stopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setStopPointRef(StopPointRefStructure value) {
this.stopPointRef = value;
}
/**
* Gets the value of the connectionLinkRef property.
*
* @return
* possible object is
* {@link ConnectionLinkRef }
*
*/
public ConnectionLinkRef getConnectionLinkRef() {
return connectionLinkRef;
}
/**
* Sets the value of the connectionLinkRef property.
*
* @param value
* allowed object is
* {@link ConnectionLinkRef }
*
*/
public void setConnectionLinkRef(ConnectionLinkRef value) {
this.connectionLinkRef = value;
}
/**
* Gets the value of the vehicleJourneyRef property.
*
* @return
* possible object is
* {@link VehicleJourneyRef }
*
*/
public VehicleJourneyRef getVehicleJourneyRef() {
return vehicleJourneyRef;
}
/**
* Sets the value of the vehicleJourneyRef property.
*
* @param value
* allowed object is
* {@link VehicleJourneyRef }
*
*/
public void setVehicleJourneyRef(VehicleJourneyRef value) {
this.vehicleJourneyRef = value;
}
/**
* Gets the value of the framedVehicleJourneyRef property.
*
* @return
* possible object is
* {@link FramedVehicleJourneyRefStructure }
*
*/
public FramedVehicleJourneyRefStructure getFramedVehicleJourneyRef() {
return framedVehicleJourneyRef;
}
/**
* Sets the value of the framedVehicleJourneyRef property.
*
* @param value
* allowed object is
* {@link FramedVehicleJourneyRefStructure }
*
*/
public void setFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) {
this.framedVehicleJourneyRef = value;
}
/**
* Gets the value of the interchangeRef property.
*
* @return
* possible object is
* {@link InterchangeRef }
*
*/
public InterchangeRef getInterchangeRef() {
return interchangeRef;
}
/**
* Sets the value of the interchangeRef property.
*
* @param value
* allowed object is
* {@link InterchangeRef }
*
*/
public void setInterchangeRef(InterchangeRef value) {
this.interchangeRef = 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 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 stopPlaceComponentRef property.
*
* @return
* possible object is
* {@link StopPlaceComponentRefStructure }
*
*/
public StopPlaceComponentRefStructure getStopPlaceComponentRef() {
return stopPlaceComponentRef;
}
/**
* Sets the value of the stopPlaceComponentRef property.
*
* @param value
* allowed object is
* {@link StopPlaceComponentRefStructure }
*
*/
public void setStopPlaceComponentRef(StopPlaceComponentRefStructure value) {
this.stopPlaceComponentRef = value;
}
/**
* Reference to a Site.
*
* @return
* possible object is
* {@link SiteRef }
*
*/
public SiteRef getSiteRef() {
return siteRef;
}
/**
* Sets the value of the siteRef property.
*
* @param value
* allowed object is
* {@link SiteRef }
*
*/
public void setSiteRef(SiteRef value) {
this.siteRef = value;
}
/**
* Gets the value of the accessibilityNeedsFilters 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 accessibilityNeedsFilters property.
*
*
* For example, to add a new item, do as follows:
*
* getAccessibilityNeedsFilters().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccessibilityNeedsFilterStructure }
*
*
*/
public List getAccessibilityNeedsFilters() {
if (accessibilityNeedsFilters == null) {
accessibilityNeedsFilters = new ArrayList();
}
return this.accessibilityNeedsFilters;
}
/**
* 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 maximumNumberOfFacilityConditions property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumNumberOfFacilityConditions() {
return maximumNumberOfFacilityConditions;
}
/**
* Sets the value of the maximumNumberOfFacilityConditions property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumNumberOfFacilityConditions(BigInteger value) {
this.maximumNumberOfFacilityConditions = 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;
}
}