![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.DatedVehicleJourney 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:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
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.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Type for Planned VEHICLE JOURNEY (Production Timetable Service).
*
* Java class for DatedVehicleJourneyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DatedVehicleJourneyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DatedVehicleJourneyCode" type="{http://www.siri.org.uk/siri}DatedVehicleJourneyCodeType" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}TimetableAlterationGroup" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}JourneyPatternInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}ServiceInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}JourneyInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}DatedServiceInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}TimetableRealtimeInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}OperationalBlockGroup" minOccurs="0"/>
* <element name="DatedCalls">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.siri.org.uk/siri}DatedCall" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatedVehicleJourneyStructure", propOrder = {
"datedVehicleJourneyCode",
"vehicleJourneyRef",
"framedVehicleJourneyRef",
"cancellation",
"extraJourney",
"journeyPatternRef",
"journeyPatternName",
"vehicleModes",
"routeRef",
"publishedLineNames",
"groupOfLinesRef",
"directionNames",
"externalLineRef",
"operatorRef",
"productCategoryRef",
"serviceFeatureReves",
"vehicleFeatureReves",
"vehicleJourneyNames",
"journeyNotes",
"publicContact",
"operationsContact",
"originDisplaies",
"destinationDisplaies",
"lineNotes",
"firstOrLastJourney",
"headwayService",
"monitored",
"blockRef",
"courseOfJourneyRef",
"datedCalls",
"extensions"
})
@XmlRootElement(name = "DatedVehicleJourney")
public class DatedVehicleJourney
implements Serializable
{
@XmlElement(name = "DatedVehicleJourneyCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String datedVehicleJourneyCode;
@XmlElement(name = "VehicleJourneyRef")
protected VehicleJourneyRef vehicleJourneyRef;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@XmlElement(name = "Cancellation", defaultValue = "false")
protected Boolean cancellation;
@XmlElement(name = "ExtraJourney", defaultValue = "false")
protected Boolean extraJourney;
@XmlElement(name = "JourneyPatternRef")
protected JourneyPatternRef journeyPatternRef;
@XmlElement(name = "JourneyPatternName")
protected NaturalLanguageStringStructure journeyPatternName;
@XmlElement(name = "VehicleMode")
@XmlSchemaType(name = "NMTOKEN")
protected List vehicleModes;
@XmlElement(name = "RouteRef")
protected RouteRefStructure routeRef;
@XmlElement(name = "PublishedLineName")
protected List publishedLineNames;
@XmlElement(name = "GroupOfLinesRef")
protected GroupOfLinesRefStructure groupOfLinesRef;
@XmlElement(name = "DirectionName")
protected List directionNames;
@XmlElement(name = "ExternalLineRef")
protected LineRef externalLineRef;
@XmlElement(name = "OperatorRef")
protected OperatorRefStructure operatorRef;
@XmlElement(name = "ProductCategoryRef")
protected ProductCategoryRefStructure productCategoryRef;
@XmlElement(name = "ServiceFeatureRef")
protected List serviceFeatureReves;
@XmlElement(name = "VehicleFeatureRef")
protected List vehicleFeatureReves;
@XmlElement(name = "VehicleJourneyName")
protected List vehicleJourneyNames;
@XmlElement(name = "JourneyNote")
protected List journeyNotes;
@XmlElement(name = "PublicContact")
protected SimpleContactStructure publicContact;
@XmlElement(name = "OperationsContact")
protected SimpleContactStructure operationsContact;
@XmlElement(name = "OriginDisplay")
protected List originDisplaies;
@XmlElement(name = "DestinationDisplay")
protected List destinationDisplaies;
@XmlElement(name = "LineNote")
protected List lineNotes;
@XmlElement(name = "FirstOrLastJourney", defaultValue = "unspecified")
@XmlSchemaType(name = "NMTOKEN")
protected FirstOrLastJourneyEnumeration firstOrLastJourney;
@XmlElement(name = "HeadwayService")
protected Boolean headwayService;
@XmlElement(name = "Monitored", defaultValue = "true")
protected Boolean monitored;
@XmlElement(name = "BlockRef")
protected BlockRefStructure blockRef;
@XmlElement(name = "CourseOfJourneyRef")
protected CourseOfJourneyRefStructure courseOfJourneyRef;
@XmlElement(name = "DatedCalls", required = true)
protected DatedVehicleJourney.DatedCalls datedCalls;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the datedVehicleJourneyCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDatedVehicleJourneyCode() {
return datedVehicleJourneyCode;
}
/**
* Sets the value of the datedVehicleJourneyCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDatedVehicleJourneyCode(String value) {
this.datedVehicleJourneyCode = 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 cancellation property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCancellation() {
return cancellation;
}
/**
* Sets the value of the cancellation property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCancellation(Boolean value) {
this.cancellation = value;
}
/**
* Gets the value of the extraJourney property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExtraJourney() {
return extraJourney;
}
/**
* Sets the value of the extraJourney property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExtraJourney(Boolean value) {
this.extraJourney = value;
}
/**
* Gets the value of the journeyPatternRef property.
*
* @return
* possible object is
* {@link JourneyPatternRef }
*
*/
public JourneyPatternRef getJourneyPatternRef() {
return journeyPatternRef;
}
/**
* Sets the value of the journeyPatternRef property.
*
* @param value
* allowed object is
* {@link JourneyPatternRef }
*
*/
public void setJourneyPatternRef(JourneyPatternRef value) {
this.journeyPatternRef = value;
}
/**
* Gets the value of the journeyPatternName property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getJourneyPatternName() {
return journeyPatternName;
}
/**
* Sets the value of the journeyPatternName property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setJourneyPatternName(NaturalLanguageStringStructure value) {
this.journeyPatternName = value;
}
/**
* Gets the value of the vehicleModes 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 vehicleModes property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleModes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleModesEnumeration }
*
*
*/
public List getVehicleModes() {
if (vehicleModes == null) {
vehicleModes = new ArrayList();
}
return this.vehicleModes;
}
/**
* Gets the value of the routeRef property.
*
* @return
* possible object is
* {@link RouteRefStructure }
*
*/
public RouteRefStructure getRouteRef() {
return routeRef;
}
/**
* Sets the value of the routeRef property.
*
* @param value
* allowed object is
* {@link RouteRefStructure }
*
*/
public void setRouteRef(RouteRefStructure value) {
this.routeRef = value;
}
/**
* Name or Number by which the LINE is known to the public. (Unbounded since SIRI 2.0) Gets the value of the publishedLineNames 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 publishedLineNames property.
*
*
* For example, to add a new item, do as follows:
*
* getPublishedLineNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getPublishedLineNames() {
if (publishedLineNames == null) {
publishedLineNames = new ArrayList();
}
return this.publishedLineNames;
}
/**
* Gets the value of the groupOfLinesRef property.
*
* @return
* possible object is
* {@link GroupOfLinesRefStructure }
*
*/
public GroupOfLinesRefStructure getGroupOfLinesRef() {
return groupOfLinesRef;
}
/**
* Sets the value of the groupOfLinesRef property.
*
* @param value
* allowed object is
* {@link GroupOfLinesRefStructure }
*
*/
public void setGroupOfLinesRef(GroupOfLinesRefStructure value) {
this.groupOfLinesRef = value;
}
/**
* Gets the value of the directionNames 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 directionNames property.
*
*
* For example, to add a new item, do as follows:
*
* getDirectionNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getDirectionNames() {
if (directionNames == null) {
directionNames = new ArrayList();
}
return this.directionNames;
}
/**
* Gets the value of the externalLineRef property.
*
* @return
* possible object is
* {@link LineRef }
*
*/
public LineRef getExternalLineRef() {
return externalLineRef;
}
/**
* Sets the value of the externalLineRef property.
*
* @param value
* allowed object is
* {@link LineRef }
*
*/
public void setExternalLineRef(LineRef value) {
this.externalLineRef = 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 productCategoryRef property.
*
* @return
* possible object is
* {@link ProductCategoryRefStructure }
*
*/
public ProductCategoryRefStructure getProductCategoryRef() {
return productCategoryRef;
}
/**
* Sets the value of the productCategoryRef property.
*
* @param value
* allowed object is
* {@link ProductCategoryRefStructure }
*
*/
public void setProductCategoryRef(ProductCategoryRefStructure value) {
this.productCategoryRef = value;
}
/**
* Classification of service into arbitrary Service categories, e.g. school bus. Recommended SIRI values based on TPEG are given in SIRI documentation and enumerated in the siri_facilities package.
* Corresponds to NeTEX TYPE OF SERVICe.Gets the value of the serviceFeatureReves 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 serviceFeatureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getServiceFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ServiceFeatureRef }
*
*
*/
public List getServiceFeatureReves() {
if (serviceFeatureReves == null) {
serviceFeatureReves = new ArrayList();
}
return this.serviceFeatureReves;
}
/**
* Gets the value of the vehicleFeatureReves 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 vehicleFeatureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleFeatureRefStructure }
*
*
*/
public List getVehicleFeatureReves() {
if (vehicleFeatureReves == null) {
vehicleFeatureReves = new ArrayList();
}
return this.vehicleFeatureReves;
}
/**
* Gets the value of the vehicleJourneyNames 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 vehicleJourneyNames property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleJourneyNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getVehicleJourneyNames() {
if (vehicleJourneyNames == null) {
vehicleJourneyNames = new ArrayList();
}
return this.vehicleJourneyNames;
}
/**
* Gets the value of the journeyNotes 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 journeyNotes property.
*
*
* For example, to add a new item, do as follows:
*
* getJourneyNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getJourneyNotes() {
if (journeyNotes == null) {
journeyNotes = new ArrayList();
}
return this.journeyNotes;
}
/**
* Gets the value of the publicContact property.
*
* @return
* possible object is
* {@link SimpleContactStructure }
*
*/
public SimpleContactStructure getPublicContact() {
return publicContact;
}
/**
* Sets the value of the publicContact property.
*
* @param value
* allowed object is
* {@link SimpleContactStructure }
*
*/
public void setPublicContact(SimpleContactStructure value) {
this.publicContact = value;
}
/**
* Gets the value of the operationsContact property.
*
* @return
* possible object is
* {@link SimpleContactStructure }
*
*/
public SimpleContactStructure getOperationsContact() {
return operationsContact;
}
/**
* Sets the value of the operationsContact property.
*
* @param value
* allowed object is
* {@link SimpleContactStructure }
*
*/
public void setOperationsContact(SimpleContactStructure value) {
this.operationsContact = value;
}
/**
* Gets the value of the originDisplaies 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 originDisplaies property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginDisplaies().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getOriginDisplaies() {
if (originDisplaies == null) {
originDisplaies = new ArrayList();
}
return this.originDisplaies;
}
/**
* Gets the value of the destinationDisplaies 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 destinationDisplaies property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationDisplaies().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getDestinationDisplaies() {
if (destinationDisplaies == null) {
destinationDisplaies = new ArrayList();
}
return this.destinationDisplaies;
}
/**
* Gets the value of the lineNotes 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 lineNotes property.
*
*
* For example, to add a new item, do as follows:
*
* getLineNotes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getLineNotes() {
if (lineNotes == null) {
lineNotes = new ArrayList();
}
return this.lineNotes;
}
/**
* Gets the value of the firstOrLastJourney property.
*
* @return
* possible object is
* {@link FirstOrLastJourneyEnumeration }
*
*/
public FirstOrLastJourneyEnumeration getFirstOrLastJourney() {
return firstOrLastJourney;
}
/**
* Sets the value of the firstOrLastJourney property.
*
* @param value
* allowed object is
* {@link FirstOrLastJourneyEnumeration }
*
*/
public void setFirstOrLastJourney(FirstOrLastJourneyEnumeration value) {
this.firstOrLastJourney = value;
}
/**
* Gets the value of the headwayService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHeadwayService() {
return headwayService;
}
/**
* Sets the value of the headwayService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHeadwayService(Boolean value) {
this.headwayService = value;
}
/**
* Gets the value of the monitored property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMonitored() {
return monitored;
}
/**
* Sets the value of the monitored property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMonitored(Boolean value) {
this.monitored = value;
}
/**
* Gets the value of the blockRef property.
*
* @return
* possible object is
* {@link BlockRefStructure }
*
*/
public BlockRefStructure getBlockRef() {
return blockRef;
}
/**
* Sets the value of the blockRef property.
*
* @param value
* allowed object is
* {@link BlockRefStructure }
*
*/
public void setBlockRef(BlockRefStructure value) {
this.blockRef = value;
}
/**
* Gets the value of the courseOfJourneyRef property.
*
* @return
* possible object is
* {@link CourseOfJourneyRefStructure }
*
*/
public CourseOfJourneyRefStructure getCourseOfJourneyRef() {
return courseOfJourneyRef;
}
/**
* Sets the value of the courseOfJourneyRef property.
*
* @param value
* allowed object is
* {@link CourseOfJourneyRefStructure }
*
*/
public void setCourseOfJourneyRef(CourseOfJourneyRefStructure value) {
this.courseOfJourneyRef = value;
}
/**
* Gets the value of the datedCalls property.
*
* @return
* possible object is
* {@link DatedVehicleJourney.DatedCalls }
*
*/
public DatedVehicleJourney.DatedCalls getDatedCalls() {
return datedCalls;
}
/**
* Sets the value of the datedCalls property.
*
* @param value
* allowed object is
* {@link DatedVehicleJourney.DatedCalls }
*
*/
public void setDatedCalls(DatedVehicleJourney.DatedCalls value) {
this.datedCalls = 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;
}
/**
* 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 ref="{http://www.siri.org.uk/siri}DatedCall" maxOccurs="unbounded" minOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"datedCalls"
})
public static class DatedCalls
implements Serializable
{
@XmlElement(name = "DatedCall", required = true)
protected List datedCalls;
/**
* Gets the value of the datedCalls 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 datedCalls property.
*
*
* For example, to add a new item, do as follows:
*
* getDatedCalls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DatedCall }
*
*
*/
public List getDatedCalls() {
if (datedCalls == null) {
datedCalls = new ArrayList();
}
return this.datedCalls;
}
}
}