![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.VehicleActivityStructure 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Type for a Vehicle Activity.
*
* Java class for VehicleActivityStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VehicleActivityStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractIdentifiedItemStructure">
* <sequence>
* <element name="ValidUntilTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="VehicleMonitoringRef" type="{http://www.siri.org.uk/siri}VehicleMonitoringRefStructure" minOccurs="0"/>
* <element name="MonitoringName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ProgressBetweenStops" type="{http://www.siri.org.uk/siri}ProgressBetweenStopsStructure" minOccurs="0"/>
* <element name="MonitoredVehicleJourney">
* <complexType>
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}MonitoredVehicleJourneyStructure">
* </extension>
* </complexContent>
* </complexType>
* </element>
* <element name="VehicleActivityNote" 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 = "VehicleActivityStructure", propOrder = {
"validUntilTime",
"vehicleMonitoringRef",
"monitoringNames",
"progressBetweenStops",
"monitoredVehicleJourney",
"vehicleActivityNotes",
"extensions"
})
public class VehicleActivityStructure
extends AbstractIdentifiedItemStructure
implements Serializable
{
@XmlElement(name = "ValidUntilTime", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime validUntilTime;
@XmlElement(name = "VehicleMonitoringRef")
protected VehicleMonitoringRefStructure vehicleMonitoringRef;
@XmlElement(name = "MonitoringName")
protected List monitoringNames;
@XmlElement(name = "ProgressBetweenStops")
protected ProgressBetweenStopsStructure progressBetweenStops;
@XmlElement(name = "MonitoredVehicleJourney", required = true)
protected VehicleActivityStructure.MonitoredVehicleJourney monitoredVehicleJourney;
@XmlElement(name = "VehicleActivityNote")
protected List vehicleActivityNotes;
@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 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 monitoringNames 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 monitoringNames property.
*
*
* For example, to add a new item, do as follows:
*
* getMonitoringNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getMonitoringNames() {
if (monitoringNames == null) {
monitoringNames = new ArrayList();
}
return this.monitoringNames;
}
/**
* Gets the value of the progressBetweenStops property.
*
* @return
* possible object is
* {@link ProgressBetweenStopsStructure }
*
*/
public ProgressBetweenStopsStructure getProgressBetweenStops() {
return progressBetweenStops;
}
/**
* Sets the value of the progressBetweenStops property.
*
* @param value
* allowed object is
* {@link ProgressBetweenStopsStructure }
*
*/
public void setProgressBetweenStops(ProgressBetweenStopsStructure value) {
this.progressBetweenStops = value;
}
/**
* Gets the value of the monitoredVehicleJourney property.
*
* @return
* possible object is
* {@link VehicleActivityStructure.MonitoredVehicleJourney }
*
*/
public VehicleActivityStructure.MonitoredVehicleJourney getMonitoredVehicleJourney() {
return monitoredVehicleJourney;
}
/**
* Sets the value of the monitoredVehicleJourney property.
*
* @param value
* allowed object is
* {@link VehicleActivityStructure.MonitoredVehicleJourney }
*
*/
public void setMonitoredVehicleJourney(VehicleActivityStructure.MonitoredVehicleJourney value) {
this.monitoredVehicleJourney = value;
}
/**
* Gets the value of the vehicleActivityNotes 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 vehicleActivityNotes property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleActivityNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getVehicleActivityNotes() {
if (vehicleActivityNotes == null) {
vehicleActivityNotes = new ArrayList();
}
return this.vehicleActivityNotes;
}
/**
* 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;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}MonitoredVehicleJourneyStructure">
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class MonitoredVehicleJourney
extends MonitoredVehicleJourneyStructure
implements Serializable
{
}
}