![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.MonitoredStopVisit 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.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.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Type for Visit of a VEHICLE to a stop monitoring point. May provide information about the arrival, the departure or both.
*
* Java class for MonitoredStopVisitStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MonitoredStopVisitStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractIdentifiedItemStructure">
* <sequence>
* <element name="ValidUntilTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}StopVisitReferenceGroup" minOccurs="0"/>
* <element name="MonitoredVehicleJourney" type="{http://www.siri.org.uk/siri}MonitoredVehicleJourneyStructure"/>
* <element name="StopVisitNote" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StopFacility" type="{http://www.siri.org.uk/siri}FacilityRefStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MonitoredStopVisitStructure", propOrder = {
"validUntilTime",
"monitoringRef",
"clearDownRef",
"monitoredVehicleJourney",
"stopVisitNotes",
"stopFacility",
"extensions"
})
@XmlRootElement(name = "MonitoredStopVisit")
public class MonitoredStopVisit
extends AbstractIdentifiedItemStructure
implements Serializable
{
@XmlElement(name = "ValidUntilTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime validUntilTime;
@XmlElement(name = "MonitoringRef")
protected MonitoringRefStructure monitoringRef;
@XmlElement(name = "ClearDownRef")
protected ClearDownRefStructure clearDownRef;
@XmlElement(name = "MonitoredVehicleJourney", required = true)
protected MonitoredVehicleJourneyStructure monitoredVehicleJourney;
@XmlElement(name = "StopVisitNote")
protected List stopVisitNotes;
@XmlElement(name = "StopFacility")
protected FacilityRef stopFacility;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the validUntilTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getValidUntilTime() {
return validUntilTime;
}
/**
* Sets the value of the validUntilTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValidUntilTime(ZonedDateTime value) {
this.validUntilTime = 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 clearDownRef property.
*
* @return
* possible object is
* {@link ClearDownRefStructure }
*
*/
public ClearDownRefStructure getClearDownRef() {
return clearDownRef;
}
/**
* Sets the value of the clearDownRef property.
*
* @param value
* allowed object is
* {@link ClearDownRefStructure }
*
*/
public void setClearDownRef(ClearDownRefStructure value) {
this.clearDownRef = value;
}
/**
* Gets the value of the monitoredVehicleJourney property.
*
* @return
* possible object is
* {@link MonitoredVehicleJourneyStructure }
*
*/
public MonitoredVehicleJourneyStructure getMonitoredVehicleJourney() {
return monitoredVehicleJourney;
}
/**
* Sets the value of the monitoredVehicleJourney property.
*
* @param value
* allowed object is
* {@link MonitoredVehicleJourneyStructure }
*
*/
public void setMonitoredVehicleJourney(MonitoredVehicleJourneyStructure value) {
this.monitoredVehicleJourney = value;
}
/**
* Gets the value of the stopVisitNotes 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 stopVisitNotes property.
*
*
* For example, to add a new item, do as follows:
*
* getStopVisitNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getStopVisitNotes() {
if (stopVisitNotes == null) {
stopVisitNotes = new ArrayList();
}
return this.stopVisitNotes;
}
/**
* Gets the value of the stopFacility property.
*
* @return
* possible object is
* {@link FacilityRef }
*
*/
public FacilityRef getStopFacility() {
return stopFacility;
}
/**
* Sets the value of the stopFacility property.
*
* @param value
* allowed object is
* {@link FacilityRef }
*
*/
public void setStopFacility(FacilityRef value) {
this.stopFacility = 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;
}
}