![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.TargetedVehicleJourney 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 a targeted VEHICLE JOURNEY.
*
* Java class for TargetedVehicleJourneyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TargetedVehicleJourneyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}JourneyIdentityGroup"/>
* <group ref="{http://www.siri.org.uk/siri}JourneyPatternInfoGroup"/>
* <group ref="{http://www.siri.org.uk/siri}VehicleJourneyInfoGroup"/>
* <element ref="{http://www.siri.org.uk/siri}TargetedCall" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TargetedVehicleJourneyStructure", propOrder = {
"lineRef",
"directionRef",
"framedVehicleJourneyRef",
"journeyPatternRef",
"journeyPatternName",
"vehicleModes",
"routeRef",
"publishedLineNames",
"groupOfLinesRef",
"directionNames",
"externalLineRef",
"branding",
"brandingRef",
"operatorRef",
"productCategoryRef",
"serviceFeatureReves",
"vehicleFeatureReves",
"originRef",
"originNames",
"originShortNames",
"destinationDisplayAtOrigins",
"vias",
"destinationRef",
"destinationNames",
"destinationShortNames",
"originDisplayAtDestinations",
"vehicleJourneyNames",
"journeyNotes",
"publicContact",
"operationsContact",
"headwayService",
"originAimedDepartureTime",
"destinationAimedArrivalTime",
"firstOrLastJourney",
"targetedCall"
})
@XmlRootElement(name = "TargetedVehicleJourney")
public class TargetedVehicleJourney
implements Serializable
{
@XmlElement(name = "LineRef", required = true)
protected LineRef lineRef;
@XmlElement(name = "DirectionRef", required = true)
protected DirectionRefStructure directionRef;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@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 = "Branding")
protected BrandingStructure branding;
@XmlElement(name = "BrandingRef")
protected BrandingRefStructure brandingRef;
@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 = "OriginRef")
protected JourneyPlaceRefStructure originRef;
@XmlElement(name = "OriginName")
protected List originNames;
@XmlElement(name = "OriginShortName")
protected List originShortNames;
@XmlElement(name = "DestinationDisplayAtOrigin")
protected List destinationDisplayAtOrigins;
@XmlElement(name = "Via")
protected List vias;
@XmlElement(name = "DestinationRef")
protected DestinationRef destinationRef;
@XmlElement(name = "DestinationName")
protected List destinationNames;
@XmlElement(name = "DestinationShortName")
protected List destinationShortNames;
@XmlElement(name = "OriginDisplayAtDestination")
protected List originDisplayAtDestinations;
@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 = "HeadwayService", defaultValue = "false")
protected Boolean headwayService;
@XmlElement(name = "OriginAimedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime originAimedDepartureTime;
@XmlElement(name = "DestinationAimedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime destinationAimedArrivalTime;
@XmlElement(name = "FirstOrLastJourney", defaultValue = "unspecified")
@XmlSchemaType(name = "NMTOKEN")
protected FirstOrLastJourneyEnumeration firstOrLastJourney;
@XmlElement(name = "TargetedCall")
protected TargetedCall targetedCall;
/**
* 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 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 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 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 branding property.
*
* @return
* possible object is
* {@link BrandingStructure }
*
*/
public BrandingStructure getBranding() {
return branding;
}
/**
* Sets the value of the branding property.
*
* @param value
* allowed object is
* {@link BrandingStructure }
*
*/
public void setBranding(BrandingStructure value) {
this.branding = value;
}
/**
* Gets the value of the brandingRef property.
*
* @return
* possible object is
* {@link BrandingRefStructure }
*
*/
public BrandingRefStructure getBrandingRef() {
return brandingRef;
}
/**
* Sets the value of the brandingRef property.
*
* @param value
* allowed object is
* {@link BrandingRefStructure }
*
*/
public void setBrandingRef(BrandingRefStructure value) {
this.brandingRef = 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 originRef property.
*
* @return
* possible object is
* {@link JourneyPlaceRefStructure }
*
*/
public JourneyPlaceRefStructure getOriginRef() {
return originRef;
}
/**
* Sets the value of the originRef property.
*
* @param value
* allowed object is
* {@link JourneyPlaceRefStructure }
*
*/
public void setOriginRef(JourneyPlaceRefStructure value) {
this.originRef = value;
}
/**
* Gets the value of the originNames 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 originNames property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getOriginNames() {
if (originNames == null) {
originNames = new ArrayList();
}
return this.originNames;
}
/**
* Gets the value of the originShortNames 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 originShortNames property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginShortNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getOriginShortNames() {
if (originShortNames == null) {
originShortNames = new ArrayList();
}
return this.originShortNames;
}
/**
* Gets the value of the destinationDisplayAtOrigins 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 destinationDisplayAtOrigins property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationDisplayAtOrigins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getDestinationDisplayAtOrigins() {
if (destinationDisplayAtOrigins == null) {
destinationDisplayAtOrigins = new ArrayList();
}
return this.destinationDisplayAtOrigins;
}
/**
* Gets the value of the vias 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 vias property.
*
*
* For example, to add a new item, do as follows:
*
* getVias().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ViaNameStructure }
*
*
*/
public List getVias() {
if (vias == null) {
vias = new ArrayList();
}
return this.vias;
}
/**
* Reference to a DESTINATION.
*
* @return
* possible object is
* {@link DestinationRef }
*
*/
public DestinationRef getDestinationRef() {
return destinationRef;
}
/**
* Sets the value of the destinationRef property.
*
* @param value
* allowed object is
* {@link DestinationRef }
*
*/
public void setDestinationRef(DestinationRef value) {
this.destinationRef = value;
}
/**
* Gets the value of the destinationNames 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 destinationNames property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getDestinationNames() {
if (destinationNames == null) {
destinationNames = new ArrayList();
}
return this.destinationNames;
}
/**
* Gets the value of the destinationShortNames 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 destinationShortNames property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationShortNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getDestinationShortNames() {
if (destinationShortNames == null) {
destinationShortNames = new ArrayList();
}
return this.destinationShortNames;
}
/**
* Gets the value of the originDisplayAtDestinations 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 originDisplayAtDestinations property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginDisplayAtDestinations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getOriginDisplayAtDestinations() {
if (originDisplayAtDestinations == null) {
originDisplayAtDestinations = new ArrayList();
}
return this.originDisplayAtDestinations;
}
/**
* 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 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 originAimedDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getOriginAimedDepartureTime() {
return originAimedDepartureTime;
}
/**
* Sets the value of the originAimedDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOriginAimedDepartureTime(ZonedDateTime value) {
this.originAimedDepartureTime = value;
}
/**
* Gets the value of the destinationAimedArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getDestinationAimedArrivalTime() {
return destinationAimedArrivalTime;
}
/**
* Sets the value of the destinationAimedArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestinationAimedArrivalTime(ZonedDateTime value) {
this.destinationAimedArrivalTime = value;
}
/**
* 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 targetedCall property.
*
* @return
* possible object is
* {@link TargetedCall }
*
*/
public TargetedCall getTargetedCall() {
return targetedCall;
}
/**
* Sets the value of the targetedCall property.
*
* @param value
* allowed object is
* {@link TargetedCall }
*
*/
public void setTargetedCall(TargetedCall value) {
this.targetedCall = value;
}
}