All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure Maven / Gradle / Ivy

//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package de.vdv.ojp20.siri;

import java.math.BigInteger;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
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.XmlElements;
import jakarta.xml.bind.annotation.XmlList;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.time.XmlDateTime;
import org.rutebanken.util.DurationXmlAdapter;
import org.rutebanken.util.XmlDateTimeAdapter;


/**
 * 

Java class for MonitoredVehicleJourneyStructure complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MonitoredVehicleJourneyStructure", propOrder = { "lineRef", "directionRef", "framedVehicleJourneyRef", "journeyPatternRef", "journeyPatternName", "vehicleMode", "routeRef", "publishedLineName", "groupOfLinesRef", "directionName", "externalLineRef", "brandingRef", "branding", "operatorRef", "productCategoryRef", "serviceFeatureRef", "vehicleFeatureRef", "originRef", "originName", "originShortName", "destinationDisplayAtOrigin", "via", "destinationRef", "destinationName", "destinationShortName", "originDisplayAtDestination", "vehicleJourneyName", "journeyNote", "publicContact", "operationsContact", "headwayService", "originAimedDepartureTime", "destinationAimedArrivalTime", "firstOrLastJourney", "formationCondition", "facilityConditionElement", "facilityChangeElement", "situationRef", "monitored", "monitoringError", "inCongestion", "inPanic", "predictionInaccurate", "predictionInaccurateReason", "dataSource", "confidenceLevel", "vehicleLocation", "locationRecordedAtTime", "bearing", "progressRate", "velocity", "engineOn", "occupancy", "delay", "progressStatus", "vehicleStatus", "trainBlockPart", "blockRef", "courseOfJourneyRef", "vehicleJourneyRef", "vehicleRef", "additionalVehicleJourneyRef", "driverRef", "driverName", "trainNumbers", "journeyParts", "trainElements", "trains", "compoundTrains", "previousCalls", "monitoredCall", "onwardCalls", "isCompleteStopSequence" }) public class MonitoredVehicleJourneyStructure { @XmlElement(name = "LineRef") protected LineRefStructure lineRef; @XmlElement(name = "DirectionRef") protected DirectionRefStructure directionRef; @XmlElement(name = "FramedVehicleJourneyRef") protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef; @XmlElement(name = "JourneyPatternRef") protected JourneyPatternRefStructure journeyPatternRef; @XmlElement(name = "JourneyPatternName") protected NaturalLanguageStringStructure journeyPatternName; @XmlElement(name = "VehicleMode") @XmlSchemaType(name = "NMTOKEN") protected List vehicleMode; @XmlElement(name = "RouteRef") protected RouteRefStructure routeRef; @XmlElement(name = "PublishedLineName") protected List publishedLineName; @XmlElement(name = "GroupOfLinesRef") protected GroupOfLinesRefStructure groupOfLinesRef; @XmlElement(name = "DirectionName") protected List directionName; @XmlElement(name = "ExternalLineRef") protected LineRefStructure externalLineRef; @XmlElement(name = "BrandingRef") protected BrandingRefStructure brandingRef; @XmlElement(name = "Branding") protected BrandingStructure branding; @XmlElement(name = "OperatorRef") protected OperatorRefStructure operatorRef; @XmlElement(name = "ProductCategoryRef") protected ProductCategoryRefStructure productCategoryRef; @XmlElement(name = "ServiceFeatureRef") protected List serviceFeatureRef; @XmlElement(name = "VehicleFeatureRef") protected List vehicleFeatureRef; @XmlElement(name = "OriginRef") protected JourneyPlaceRefStructure originRef; @XmlElement(name = "OriginName") protected List originName; @XmlElement(name = "OriginShortName") protected List originShortName; @XmlElement(name = "DestinationDisplayAtOrigin") protected List destinationDisplayAtOrigin; @XmlElement(name = "Via") protected List via; @XmlElement(name = "DestinationRef") protected DestinationRefStructure destinationRef; @XmlElement(name = "DestinationName") protected List destinationName; @XmlElement(name = "DestinationShortName") protected List destinationShortName; @XmlElement(name = "OriginDisplayAtDestination") protected List originDisplayAtDestination; @XmlElement(name = "VehicleJourneyName") protected List vehicleJourneyName; @XmlElement(name = "JourneyNote") protected List journeyNote; @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(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime originAimedDepartureTime; @XmlElement(name = "DestinationAimedArrivalTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime destinationAimedArrivalTime; @XmlElement(name = "FirstOrLastJourney", defaultValue = "unspecified") @XmlSchemaType(name = "NMTOKEN") protected FirstOrLastJourneyEnumeration firstOrLastJourney; @XmlElement(name = "FormationCondition") protected List formationCondition; @XmlElement(name = "FacilityConditionElement") protected List facilityConditionElement; @XmlElement(name = "FacilityChangeElement") protected FacilityChangeStructure facilityChangeElement; @XmlElement(name = "SituationRef") protected List situationRef; @XmlElement(name = "Monitored", defaultValue = "true") protected Boolean monitored; @XmlList @XmlElement(name = "MonitoringError") @XmlSchemaType(name = "NMTOKENS") protected List monitoringError; @XmlElement(name = "InCongestion") protected Boolean inCongestion; @XmlElement(name = "InPanic", defaultValue = "false") protected Boolean inPanic; @XmlElement(name = "PredictionInaccurate", defaultValue = "false") protected Boolean predictionInaccurate; @XmlElement(name = "PredictionInaccurateReason") @XmlSchemaType(name = "NMTOKEN") protected PredictionInaccurateReasonEnumeration predictionInaccurateReason; @XmlElement(name = "DataSource") protected String dataSource; @XmlElement(name = "ConfidenceLevel", defaultValue = "reliable") @XmlSchemaType(name = "NMTOKEN") protected QualityIndexEnumeration confidenceLevel; @XmlElement(name = "VehicleLocation") protected LocationStructure vehicleLocation; @XmlElement(name = "LocationRecordedAtTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime locationRecordedAtTime; @XmlElement(name = "Bearing") protected Float bearing; @XmlElement(name = "ProgressRate") @XmlSchemaType(name = "NMTOKEN") protected ProgressRateEnumeration progressRate; @XmlElement(name = "Velocity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger velocity; @XmlElement(name = "EngineOn", defaultValue = "true") protected Boolean engineOn; @XmlElement(name = "Occupancy") @XmlSchemaType(name = "NMTOKEN") protected OccupancyEnumeration occupancy; @XmlElement(name = "Delay", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration delay; @XmlElement(name = "ProgressStatus") protected List progressStatus; @XmlElement(name = "VehicleStatus") @XmlSchemaType(name = "NMTOKEN") protected VehicleStatusEnumeration vehicleStatus; @XmlElement(name = "TrainBlockPart") protected List trainBlockPart; @XmlElement(name = "BlockRef") protected BlockRefStructure blockRef; @XmlElement(name = "CourseOfJourneyRef") protected CourseOfJourneyRefStructure courseOfJourneyRef; @XmlElement(name = "VehicleJourneyRef") protected VehicleJourneyRefStructure vehicleJourneyRef; @XmlElement(name = "VehicleRef") protected VehicleRefStructure vehicleRef; @XmlElement(name = "AdditionalVehicleJourneyRef") protected List additionalVehicleJourneyRef; @XmlElement(name = "DriverRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String driverRef; @XmlElement(name = "DriverName") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String driverName; @XmlElement(name = "TrainNumbers") protected MonitoredVehicleJourneyStructure.TrainNumbers trainNumbers; @XmlElement(name = "JourneyParts") protected MonitoredVehicleJourneyStructure.JourneyParts journeyParts; @XmlElement(name = "TrainElements") protected MonitoredVehicleJourneyStructure.TrainElements trainElements; @XmlElement(name = "Trains") protected MonitoredVehicleJourneyStructure.Trains trains; @XmlElement(name = "CompoundTrains") protected MonitoredVehicleJourneyStructure.CompoundTrains compoundTrains; @XmlElement(name = "PreviousCalls") protected PreviousCallsStructure previousCalls; @XmlElement(name = "MonitoredCall") protected MonitoredCallStructure monitoredCall; @XmlElement(name = "OnwardCalls") protected OnwardCallsStructure onwardCalls; @XmlElement(name = "IsCompleteStopSequence", defaultValue = "false") protected Boolean isCompleteStopSequence; /** * Gets the value of the lineRef property. * * @return * possible object is * {@link LineRefStructure } * */ public LineRefStructure getLineRef() { return lineRef; } /** * Sets the value of the lineRef property. * * @param value * allowed object is * {@link LineRefStructure } * */ public void setLineRef(LineRefStructure 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 JourneyPatternRefStructure } * */ public JourneyPatternRefStructure getJourneyPatternRef() { return journeyPatternRef; } /** * Sets the value of the journeyPatternRef property. * * @param value * allowed object is * {@link JourneyPatternRefStructure } * */ public void setJourneyPatternRef(JourneyPatternRefStructure 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 vehicleMode 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 JAXB object. * This is why there is not a set method for the vehicleMode property.

* *

* For example, to add a new item, do as follows: *

*
     * getVehicleMode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VehicleModesEnumeration } *

* * * @return * The value of the vehicleMode property. */ public List getVehicleMode() { if (vehicleMode == null) { vehicleMode = new ArrayList<>(); } return this.vehicleMode; } /** * 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; } /** * Gets the value of the publishedLineName 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 JAXB object. * This is why there is not a set method for the publishedLineName property.

* *

* For example, to add a new item, do as follows: *

*
     * getPublishedLineName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the publishedLineName property. */ public List getPublishedLineName() { if (publishedLineName == null) { publishedLineName = new ArrayList<>(); } return this.publishedLineName; } /** * 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 directionName 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 JAXB object. * This is why there is not a set method for the directionName property.

* *

* For example, to add a new item, do as follows: *

*
     * getDirectionName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the directionName property. */ public List getDirectionName() { if (directionName == null) { directionName = new ArrayList<>(); } return this.directionName; } /** * Gets the value of the externalLineRef property. * * @return * possible object is * {@link LineRefStructure } * */ public LineRefStructure getExternalLineRef() { return externalLineRef; } /** * Sets the value of the externalLineRef property. * * @param value * allowed object is * {@link LineRefStructure } * */ public void setExternalLineRef(LineRefStructure value) { this.externalLineRef = 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 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 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; } /** * Gets the value of the serviceFeatureRef 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 JAXB object. * This is why there is not a set method for the serviceFeatureRef property.

* *

* For example, to add a new item, do as follows: *

*
     * getServiceFeatureRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ServiceFeatureRefStructure } *

* * * @return * The value of the serviceFeatureRef property. */ public List getServiceFeatureRef() { if (serviceFeatureRef == null) { serviceFeatureRef = new ArrayList<>(); } return this.serviceFeatureRef; } /** * Gets the value of the vehicleFeatureRef 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 JAXB object. * This is why there is not a set method for the vehicleFeatureRef property.

* *

* For example, to add a new item, do as follows: *

*
     * getVehicleFeatureRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VehicleFeatureRefStructure } *

* * * @return * The value of the vehicleFeatureRef property. */ public List getVehicleFeatureRef() { if (vehicleFeatureRef == null) { vehicleFeatureRef = new ArrayList<>(); } return this.vehicleFeatureRef; } /** * 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 originName 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 JAXB object. * This is why there is not a set method for the originName property.

* *

* For example, to add a new item, do as follows: *

*
     * getOriginName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguagePlaceNameStructure } *

* * * @return * The value of the originName property. */ public List getOriginName() { if (originName == null) { originName = new ArrayList<>(); } return this.originName; } /** * Gets the value of the originShortName 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 JAXB object. * This is why there is not a set method for the originShortName property.

* *

* For example, to add a new item, do as follows: *

*
     * getOriginShortName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguagePlaceNameStructure } *

* * * @return * The value of the originShortName property. */ public List getOriginShortName() { if (originShortName == null) { originShortName = new ArrayList<>(); } return this.originShortName; } /** * Gets the value of the destinationDisplayAtOrigin 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 JAXB object. * This is why there is not a set method for the destinationDisplayAtOrigin property.

* *

* For example, to add a new item, do as follows: *

*
     * getDestinationDisplayAtOrigin().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguagePlaceNameStructure } *

* * * @return * The value of the destinationDisplayAtOrigin property. */ public List getDestinationDisplayAtOrigin() { if (destinationDisplayAtOrigin == null) { destinationDisplayAtOrigin = new ArrayList<>(); } return this.destinationDisplayAtOrigin; } /** * Gets the value of the via 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 JAXB object. * This is why there is not a set method for the via property.

* *

* For example, to add a new item, do as follows: *

*
     * getVia().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ViaNameStructure } *

* * * @return * The value of the via property. */ public List getVia() { if (via == null) { via = new ArrayList<>(); } return this.via; } /** * Gets the value of the destinationRef property. * * @return * possible object is * {@link DestinationRefStructure } * */ public DestinationRefStructure getDestinationRef() { return destinationRef; } /** * Sets the value of the destinationRef property. * * @param value * allowed object is * {@link DestinationRefStructure } * */ public void setDestinationRef(DestinationRefStructure value) { this.destinationRef = value; } /** * Gets the value of the destinationName 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 JAXB object. * This is why there is not a set method for the destinationName property.

* *

* For example, to add a new item, do as follows: *

*
     * getDestinationName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the destinationName property. */ public List getDestinationName() { if (destinationName == null) { destinationName = new ArrayList<>(); } return this.destinationName; } /** * Gets the value of the destinationShortName 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 JAXB object. * This is why there is not a set method for the destinationShortName property.

* *

* For example, to add a new item, do as follows: *

*
     * getDestinationShortName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguagePlaceNameStructure } *

* * * @return * The value of the destinationShortName property. */ public List getDestinationShortName() { if (destinationShortName == null) { destinationShortName = new ArrayList<>(); } return this.destinationShortName; } /** * Gets the value of the originDisplayAtDestination 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 JAXB object. * This is why there is not a set method for the originDisplayAtDestination property.

* *

* For example, to add a new item, do as follows: *

*
     * getOriginDisplayAtDestination().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguagePlaceNameStructure } *

* * * @return * The value of the originDisplayAtDestination property. */ public List getOriginDisplayAtDestination() { if (originDisplayAtDestination == null) { originDisplayAtDestination = new ArrayList<>(); } return this.originDisplayAtDestination; } /** * Gets the value of the vehicleJourneyName 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 JAXB object. * This is why there is not a set method for the vehicleJourneyName property.

* *

* For example, to add a new item, do as follows: *

*
     * getVehicleJourneyName().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the vehicleJourneyName property. */ public List getVehicleJourneyName() { if (vehicleJourneyName == null) { vehicleJourneyName = new ArrayList<>(); } return this.vehicleJourneyName; } /** * Gets the value of the journeyNote 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 JAXB object. * This is why there is not a set method for the journeyNote property.

* *

* For example, to add a new item, do as follows: *

*
     * getJourneyNote().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the journeyNote property. */ public List getJourneyNote() { if (journeyNote == null) { journeyNote = new ArrayList<>(); } return this.journeyNote; } /** * 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 XmlDateTime getOriginAimedDepartureTime() { return originAimedDepartureTime; } /** * Sets the value of the originAimedDepartureTime property. * * @param value * allowed object is * {@link String } * */ public void setOriginAimedDepartureTime(XmlDateTime value) { this.originAimedDepartureTime = value; } /** * Gets the value of the destinationAimedArrivalTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getDestinationAimedArrivalTime() { return destinationAimedArrivalTime; } /** * Sets the value of the destinationAimedArrivalTime property. * * @param value * allowed object is * {@link String } * */ public void setDestinationAimedArrivalTime(XmlDateTime 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 formationCondition 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 JAXB object. * This is why there is not a set method for the formationCondition property.

* *

* For example, to add a new item, do as follows: *

*
     * getFormationCondition().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FormationConditionStructure } *

* * * @return * The value of the formationCondition property. */ public List getFormationCondition() { if (formationCondition == null) { formationCondition = new ArrayList<>(); } return this.formationCondition; } /** * Gets the value of the facilityConditionElement 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 JAXB object. * This is why there is not a set method for the facilityConditionElement property.

* *

* For example, to add a new item, do as follows: *

*
     * getFacilityConditionElement().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FacilityConditionStructure } *

* * * @return * The value of the facilityConditionElement property. */ public List getFacilityConditionElement() { if (facilityConditionElement == null) { facilityConditionElement = new ArrayList<>(); } return this.facilityConditionElement; } /** * Gets the value of the facilityChangeElement property. * * @return * possible object is * {@link FacilityChangeStructure } * */ public FacilityChangeStructure getFacilityChangeElement() { return facilityChangeElement; } /** * Sets the value of the facilityChangeElement property. * * @param value * allowed object is * {@link FacilityChangeStructure } * */ public void setFacilityChangeElement(FacilityChangeStructure value) { this.facilityChangeElement = value; } /** * Gets the value of the situationRef 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 JAXB object. * This is why there is not a set method for the situationRef property.

* *

* For example, to add a new item, do as follows: *

*
     * getSituationRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SituationRefStructure } *

* * * @return * The value of the situationRef property. */ public List getSituationRef() { if (situationRef == null) { situationRef = new ArrayList<>(); } return this.situationRef; } /** * 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 monitoringError 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 JAXB object. * This is why there is not a set method for the monitoringError property.

* *

* For example, to add a new item, do as follows: *

*
     * getMonitoringError().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } *

* * * @return * The value of the monitoringError property. */ public List getMonitoringError() { if (monitoringError == null) { monitoringError = new ArrayList<>(); } return this.monitoringError; } /** * Gets the value of the inCongestion property. * * @return * possible object is * {@link Boolean } * */ public Boolean isInCongestion() { return inCongestion; } /** * Sets the value of the inCongestion property. * * @param value * allowed object is * {@link Boolean } * */ public void setInCongestion(Boolean value) { this.inCongestion = value; } /** * Gets the value of the inPanic property. * * @return * possible object is * {@link Boolean } * */ public Boolean isInPanic() { return inPanic; } /** * Sets the value of the inPanic property. * * @param value * allowed object is * {@link Boolean } * */ public void setInPanic(Boolean value) { this.inPanic = value; } /** * Gets the value of the predictionInaccurate property. * * @return * possible object is * {@link Boolean } * */ public Boolean isPredictionInaccurate() { return predictionInaccurate; } /** * Sets the value of the predictionInaccurate property. * * @param value * allowed object is * {@link Boolean } * */ public void setPredictionInaccurate(Boolean value) { this.predictionInaccurate = value; } /** * Gets the value of the predictionInaccurateReason property. * * @return * possible object is * {@link PredictionInaccurateReasonEnumeration } * */ public PredictionInaccurateReasonEnumeration getPredictionInaccurateReason() { return predictionInaccurateReason; } /** * Sets the value of the predictionInaccurateReason property. * * @param value * allowed object is * {@link PredictionInaccurateReasonEnumeration } * */ public void setPredictionInaccurateReason(PredictionInaccurateReasonEnumeration value) { this.predictionInaccurateReason = value; } /** * Gets the value of the dataSource property. * * @return * possible object is * {@link String } * */ public String getDataSource() { return dataSource; } /** * Sets the value of the dataSource property. * * @param value * allowed object is * {@link String } * */ public void setDataSource(String value) { this.dataSource = value; } /** * Gets the value of the confidenceLevel property. * * @return * possible object is * {@link QualityIndexEnumeration } * */ public QualityIndexEnumeration getConfidenceLevel() { return confidenceLevel; } /** * Sets the value of the confidenceLevel property. * * @param value * allowed object is * {@link QualityIndexEnumeration } * */ public void setConfidenceLevel(QualityIndexEnumeration value) { this.confidenceLevel = value; } /** * Gets the value of the vehicleLocation property. * * @return * possible object is * {@link LocationStructure } * */ public LocationStructure getVehicleLocation() { return vehicleLocation; } /** * Sets the value of the vehicleLocation property. * * @param value * allowed object is * {@link LocationStructure } * */ public void setVehicleLocation(LocationStructure value) { this.vehicleLocation = value; } /** * Gets the value of the locationRecordedAtTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getLocationRecordedAtTime() { return locationRecordedAtTime; } /** * Sets the value of the locationRecordedAtTime property. * * @param value * allowed object is * {@link String } * */ public void setLocationRecordedAtTime(XmlDateTime value) { this.locationRecordedAtTime = value; } /** * Gets the value of the bearing property. * * @return * possible object is * {@link Float } * */ public Float getBearing() { return bearing; } /** * Sets the value of the bearing property. * * @param value * allowed object is * {@link Float } * */ public void setBearing(Float value) { this.bearing = value; } /** * Gets the value of the progressRate property. * * @return * possible object is * {@link ProgressRateEnumeration } * */ public ProgressRateEnumeration getProgressRate() { return progressRate; } /** * Sets the value of the progressRate property. * * @param value * allowed object is * {@link ProgressRateEnumeration } * */ public void setProgressRate(ProgressRateEnumeration value) { this.progressRate = value; } /** * Gets the value of the velocity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getVelocity() { return velocity; } /** * Sets the value of the velocity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setVelocity(BigInteger value) { this.velocity = value; } /** * Gets the value of the engineOn property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEngineOn() { return engineOn; } /** * Sets the value of the engineOn property. * * @param value * allowed object is * {@link Boolean } * */ public void setEngineOn(Boolean value) { this.engineOn = value; } /** * Gets the value of the occupancy property. * * @return * possible object is * {@link OccupancyEnumeration } * */ public OccupancyEnumeration getOccupancy() { return occupancy; } /** * Sets the value of the occupancy property. * * @param value * allowed object is * {@link OccupancyEnumeration } * */ public void setOccupancy(OccupancyEnumeration value) { this.occupancy = value; } /** * Gets the value of the delay property. * * @return * possible object is * {@link String } * */ public Duration getDelay() { return delay; } /** * Sets the value of the delay property. * * @param value * allowed object is * {@link String } * */ public void setDelay(Duration value) { this.delay = value; } /** * Gets the value of the progressStatus 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 JAXB object. * This is why there is not a set method for the progressStatus property.

* *

* For example, to add a new item, do as follows: *

*
     * getProgressStatus().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the progressStatus property. */ public List getProgressStatus() { if (progressStatus == null) { progressStatus = new ArrayList<>(); } return this.progressStatus; } /** * Gets the value of the vehicleStatus property. * * @return * possible object is * {@link VehicleStatusEnumeration } * */ public VehicleStatusEnumeration getVehicleStatus() { return vehicleStatus; } /** * Sets the value of the vehicleStatus property. * * @param value * allowed object is * {@link VehicleStatusEnumeration } * */ public void setVehicleStatus(VehicleStatusEnumeration value) { this.vehicleStatus = value; } /** * Gets the value of the trainBlockPart 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 JAXB object. * This is why there is not a set method for the trainBlockPart property.

* *

* For example, to add a new item, do as follows: *

*
     * getTrainBlockPart().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrainBlockPartStructure } *

* * * @return * The value of the trainBlockPart property. */ public List getTrainBlockPart() { if (trainBlockPart == null) { trainBlockPart = new ArrayList<>(); } return this.trainBlockPart; } /** * 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 vehicleJourneyRef property. * * @return * possible object is * {@link VehicleJourneyRefStructure } * */ public VehicleJourneyRefStructure getVehicleJourneyRef() { return vehicleJourneyRef; } /** * Sets the value of the vehicleJourneyRef property. * * @param value * allowed object is * {@link VehicleJourneyRefStructure } * */ public void setVehicleJourneyRef(VehicleJourneyRefStructure value) { this.vehicleJourneyRef = value; } /** * Gets the value of the vehicleRef property. * * @return * possible object is * {@link VehicleRefStructure } * */ public VehicleRefStructure getVehicleRef() { return vehicleRef; } /** * Sets the value of the vehicleRef property. * * @param value * allowed object is * {@link VehicleRefStructure } * */ public void setVehicleRef(VehicleRefStructure value) { this.vehicleRef = value; } /** * Gets the value of the additionalVehicleJourneyRef 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 JAXB object. * This is why there is not a set method for the additionalVehicleJourneyRef property.

* *

* For example, to add a new item, do as follows: *

*
     * getAdditionalVehicleJourneyRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FramedVehicleJourneyRefStructure } *

* * * @return * The value of the additionalVehicleJourneyRef property. */ public List getAdditionalVehicleJourneyRef() { if (additionalVehicleJourneyRef == null) { additionalVehicleJourneyRef = new ArrayList<>(); } return this.additionalVehicleJourneyRef; } /** * Gets the value of the driverRef property. * * @return * possible object is * {@link String } * */ public String getDriverRef() { return driverRef; } /** * Sets the value of the driverRef property. * * @param value * allowed object is * {@link String } * */ public void setDriverRef(String value) { this.driverRef = value; } /** * Gets the value of the driverName property. * * @return * possible object is * {@link String } * */ public String getDriverName() { return driverName; } /** * Sets the value of the driverName property. * * @param value * allowed object is * {@link String } * */ public void setDriverName(String value) { this.driverName = value; } /** * Gets the value of the trainNumbers property. * * @return * possible object is * {@link MonitoredVehicleJourneyStructure.TrainNumbers } * */ public MonitoredVehicleJourneyStructure.TrainNumbers getTrainNumbers() { return trainNumbers; } /** * Sets the value of the trainNumbers property. * * @param value * allowed object is * {@link MonitoredVehicleJourneyStructure.TrainNumbers } * */ public void setTrainNumbers(MonitoredVehicleJourneyStructure.TrainNumbers value) { this.trainNumbers = value; } /** * Gets the value of the journeyParts property. * * @return * possible object is * {@link MonitoredVehicleJourneyStructure.JourneyParts } * */ public MonitoredVehicleJourneyStructure.JourneyParts getJourneyParts() { return journeyParts; } /** * Sets the value of the journeyParts property. * * @param value * allowed object is * {@link MonitoredVehicleJourneyStructure.JourneyParts } * */ public void setJourneyParts(MonitoredVehicleJourneyStructure.JourneyParts value) { this.journeyParts = value; } /** * Gets the value of the trainElements property. * * @return * possible object is * {@link MonitoredVehicleJourneyStructure.TrainElements } * */ public MonitoredVehicleJourneyStructure.TrainElements getTrainElements() { return trainElements; } /** * Sets the value of the trainElements property. * * @param value * allowed object is * {@link MonitoredVehicleJourneyStructure.TrainElements } * */ public void setTrainElements(MonitoredVehicleJourneyStructure.TrainElements value) { this.trainElements = value; } /** * Gets the value of the trains property. * * @return * possible object is * {@link MonitoredVehicleJourneyStructure.Trains } * */ public MonitoredVehicleJourneyStructure.Trains getTrains() { return trains; } /** * Sets the value of the trains property. * * @param value * allowed object is * {@link MonitoredVehicleJourneyStructure.Trains } * */ public void setTrains(MonitoredVehicleJourneyStructure.Trains value) { this.trains = value; } /** * Gets the value of the compoundTrains property. * * @return * possible object is * {@link MonitoredVehicleJourneyStructure.CompoundTrains } * */ public MonitoredVehicleJourneyStructure.CompoundTrains getCompoundTrains() { return compoundTrains; } /** * Sets the value of the compoundTrains property. * * @param value * allowed object is * {@link MonitoredVehicleJourneyStructure.CompoundTrains } * */ public void setCompoundTrains(MonitoredVehicleJourneyStructure.CompoundTrains value) { this.compoundTrains = value; } /** * Gets the value of the previousCalls property. * * @return * possible object is * {@link PreviousCallsStructure } * */ public PreviousCallsStructure getPreviousCalls() { return previousCalls; } /** * Sets the value of the previousCalls property. * * @param value * allowed object is * {@link PreviousCallsStructure } * */ public void setPreviousCalls(PreviousCallsStructure value) { this.previousCalls = value; } /** * Gets the value of the monitoredCall property. * * @return * possible object is * {@link MonitoredCallStructure } * */ public MonitoredCallStructure getMonitoredCall() { return monitoredCall; } /** * Sets the value of the monitoredCall property. * * @param value * allowed object is * {@link MonitoredCallStructure } * */ public void setMonitoredCall(MonitoredCallStructure value) { this.monitoredCall = value; } /** * Gets the value of the onwardCalls property. * * @return * possible object is * {@link OnwardCallsStructure } * */ public OnwardCallsStructure getOnwardCalls() { return onwardCalls; } /** * Sets the value of the onwardCalls property. * * @param value * allowed object is * {@link OnwardCallsStructure } * */ public void setOnwardCalls(OnwardCallsStructure value) { this.onwardCalls = value; } /** * Gets the value of the isCompleteStopSequence property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsCompleteStopSequence() { return isCompleteStopSequence; } /** * Sets the value of the isCompleteStopSequence property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsCompleteStopSequence(Boolean value) { this.isCompleteStopSequence = value; } public MonitoredVehicleJourneyStructure withLineRef(LineRefStructure value) { setLineRef(value); return this; } public MonitoredVehicleJourneyStructure withDirectionRef(DirectionRefStructure value) { setDirectionRef(value); return this; } public MonitoredVehicleJourneyStructure withFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) { setFramedVehicleJourneyRef(value); return this; } public MonitoredVehicleJourneyStructure withJourneyPatternRef(JourneyPatternRefStructure value) { setJourneyPatternRef(value); return this; } public MonitoredVehicleJourneyStructure withJourneyPatternName(NaturalLanguageStringStructure value) { setJourneyPatternName(value); return this; } public MonitoredVehicleJourneyStructure withVehicleMode(VehicleModesEnumeration... values) { if (values!= null) { for (VehicleModesEnumeration value: values) { getVehicleMode().add(value); } } return this; } public MonitoredVehicleJourneyStructure withVehicleMode(Collection values) { if (values!= null) { getVehicleMode().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withRouteRef(RouteRefStructure value) { setRouteRef(value); return this; } public MonitoredVehicleJourneyStructure withPublishedLineName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getPublishedLineName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withPublishedLineName(Collection values) { if (values!= null) { getPublishedLineName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withGroupOfLinesRef(GroupOfLinesRefStructure value) { setGroupOfLinesRef(value); return this; } public MonitoredVehicleJourneyStructure withDirectionName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getDirectionName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withDirectionName(Collection values) { if (values!= null) { getDirectionName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withExternalLineRef(LineRefStructure value) { setExternalLineRef(value); return this; } public MonitoredVehicleJourneyStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } public MonitoredVehicleJourneyStructure withBranding(BrandingStructure value) { setBranding(value); return this; } public MonitoredVehicleJourneyStructure withOperatorRef(OperatorRefStructure value) { setOperatorRef(value); return this; } public MonitoredVehicleJourneyStructure withProductCategoryRef(ProductCategoryRefStructure value) { setProductCategoryRef(value); return this; } public MonitoredVehicleJourneyStructure withServiceFeatureRef(ServiceFeatureRefStructure... values) { if (values!= null) { for (ServiceFeatureRefStructure value: values) { getServiceFeatureRef().add(value); } } return this; } public MonitoredVehicleJourneyStructure withServiceFeatureRef(Collection values) { if (values!= null) { getServiceFeatureRef().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withVehicleFeatureRef(VehicleFeatureRefStructure... values) { if (values!= null) { for (VehicleFeatureRefStructure value: values) { getVehicleFeatureRef().add(value); } } return this; } public MonitoredVehicleJourneyStructure withVehicleFeatureRef(Collection values) { if (values!= null) { getVehicleFeatureRef().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withOriginRef(JourneyPlaceRefStructure value) { setOriginRef(value); return this; } public MonitoredVehicleJourneyStructure withOriginName(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getOriginName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withOriginName(Collection values) { if (values!= null) { getOriginName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withOriginShortName(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getOriginShortName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withOriginShortName(Collection values) { if (values!= null) { getOriginShortName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withDestinationDisplayAtOrigin(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getDestinationDisplayAtOrigin().add(value); } } return this; } public MonitoredVehicleJourneyStructure withDestinationDisplayAtOrigin(Collection values) { if (values!= null) { getDestinationDisplayAtOrigin().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withVia(ViaNameStructure... values) { if (values!= null) { for (ViaNameStructure value: values) { getVia().add(value); } } return this; } public MonitoredVehicleJourneyStructure withVia(Collection values) { if (values!= null) { getVia().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withDestinationRef(DestinationRefStructure value) { setDestinationRef(value); return this; } public MonitoredVehicleJourneyStructure withDestinationName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getDestinationName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withDestinationName(Collection values) { if (values!= null) { getDestinationName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withDestinationShortName(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getDestinationShortName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withDestinationShortName(Collection values) { if (values!= null) { getDestinationShortName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withOriginDisplayAtDestination(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getOriginDisplayAtDestination().add(value); } } return this; } public MonitoredVehicleJourneyStructure withOriginDisplayAtDestination(Collection values) { if (values!= null) { getOriginDisplayAtDestination().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withVehicleJourneyName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getVehicleJourneyName().add(value); } } return this; } public MonitoredVehicleJourneyStructure withVehicleJourneyName(Collection values) { if (values!= null) { getVehicleJourneyName().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withJourneyNote(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getJourneyNote().add(value); } } return this; } public MonitoredVehicleJourneyStructure withJourneyNote(Collection values) { if (values!= null) { getJourneyNote().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withPublicContact(SimpleContactStructure value) { setPublicContact(value); return this; } public MonitoredVehicleJourneyStructure withOperationsContact(SimpleContactStructure value) { setOperationsContact(value); return this; } public MonitoredVehicleJourneyStructure withHeadwayService(Boolean value) { setHeadwayService(value); return this; } public MonitoredVehicleJourneyStructure withOriginAimedDepartureTime(XmlDateTime value) { setOriginAimedDepartureTime(value); return this; } public MonitoredVehicleJourneyStructure withDestinationAimedArrivalTime(XmlDateTime value) { setDestinationAimedArrivalTime(value); return this; } public MonitoredVehicleJourneyStructure withFirstOrLastJourney(FirstOrLastJourneyEnumeration value) { setFirstOrLastJourney(value); return this; } public MonitoredVehicleJourneyStructure withFormationCondition(FormationConditionStructure... values) { if (values!= null) { for (FormationConditionStructure value: values) { getFormationCondition().add(value); } } return this; } public MonitoredVehicleJourneyStructure withFormationCondition(Collection values) { if (values!= null) { getFormationCondition().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withFacilityConditionElement(FacilityConditionStructure... values) { if (values!= null) { for (FacilityConditionStructure value: values) { getFacilityConditionElement().add(value); } } return this; } public MonitoredVehicleJourneyStructure withFacilityConditionElement(Collection values) { if (values!= null) { getFacilityConditionElement().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withFacilityChangeElement(FacilityChangeStructure value) { setFacilityChangeElement(value); return this; } public MonitoredVehicleJourneyStructure withSituationRef(SituationRefStructure... values) { if (values!= null) { for (SituationRefStructure value: values) { getSituationRef().add(value); } } return this; } public MonitoredVehicleJourneyStructure withSituationRef(Collection values) { if (values!= null) { getSituationRef().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withMonitored(Boolean value) { setMonitored(value); return this; } public MonitoredVehicleJourneyStructure withMonitoringError(String... values) { if (values!= null) { for (String value: values) { getMonitoringError().add(value); } } return this; } public MonitoredVehicleJourneyStructure withMonitoringError(Collection values) { if (values!= null) { getMonitoringError().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withInCongestion(Boolean value) { setInCongestion(value); return this; } public MonitoredVehicleJourneyStructure withInPanic(Boolean value) { setInPanic(value); return this; } public MonitoredVehicleJourneyStructure withPredictionInaccurate(Boolean value) { setPredictionInaccurate(value); return this; } public MonitoredVehicleJourneyStructure withPredictionInaccurateReason(PredictionInaccurateReasonEnumeration value) { setPredictionInaccurateReason(value); return this; } public MonitoredVehicleJourneyStructure withDataSource(String value) { setDataSource(value); return this; } public MonitoredVehicleJourneyStructure withConfidenceLevel(QualityIndexEnumeration value) { setConfidenceLevel(value); return this; } public MonitoredVehicleJourneyStructure withVehicleLocation(LocationStructure value) { setVehicleLocation(value); return this; } public MonitoredVehicleJourneyStructure withLocationRecordedAtTime(XmlDateTime value) { setLocationRecordedAtTime(value); return this; } public MonitoredVehicleJourneyStructure withBearing(Float value) { setBearing(value); return this; } public MonitoredVehicleJourneyStructure withProgressRate(ProgressRateEnumeration value) { setProgressRate(value); return this; } public MonitoredVehicleJourneyStructure withVelocity(BigInteger value) { setVelocity(value); return this; } public MonitoredVehicleJourneyStructure withEngineOn(Boolean value) { setEngineOn(value); return this; } public MonitoredVehicleJourneyStructure withOccupancy(OccupancyEnumeration value) { setOccupancy(value); return this; } public MonitoredVehicleJourneyStructure withDelay(Duration value) { setDelay(value); return this; } public MonitoredVehicleJourneyStructure withProgressStatus(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getProgressStatus().add(value); } } return this; } public MonitoredVehicleJourneyStructure withProgressStatus(Collection values) { if (values!= null) { getProgressStatus().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withVehicleStatus(VehicleStatusEnumeration value) { setVehicleStatus(value); return this; } public MonitoredVehicleJourneyStructure withTrainBlockPart(TrainBlockPartStructure... values) { if (values!= null) { for (TrainBlockPartStructure value: values) { getTrainBlockPart().add(value); } } return this; } public MonitoredVehicleJourneyStructure withTrainBlockPart(Collection values) { if (values!= null) { getTrainBlockPart().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withBlockRef(BlockRefStructure value) { setBlockRef(value); return this; } public MonitoredVehicleJourneyStructure withCourseOfJourneyRef(CourseOfJourneyRefStructure value) { setCourseOfJourneyRef(value); return this; } public MonitoredVehicleJourneyStructure withVehicleJourneyRef(VehicleJourneyRefStructure value) { setVehicleJourneyRef(value); return this; } public MonitoredVehicleJourneyStructure withVehicleRef(VehicleRefStructure value) { setVehicleRef(value); return this; } public MonitoredVehicleJourneyStructure withAdditionalVehicleJourneyRef(FramedVehicleJourneyRefStructure... values) { if (values!= null) { for (FramedVehicleJourneyRefStructure value: values) { getAdditionalVehicleJourneyRef().add(value); } } return this; } public MonitoredVehicleJourneyStructure withAdditionalVehicleJourneyRef(Collection values) { if (values!= null) { getAdditionalVehicleJourneyRef().addAll(values); } return this; } public MonitoredVehicleJourneyStructure withDriverRef(String value) { setDriverRef(value); return this; } public MonitoredVehicleJourneyStructure withDriverName(String value) { setDriverName(value); return this; } public MonitoredVehicleJourneyStructure withTrainNumbers(MonitoredVehicleJourneyStructure.TrainNumbers value) { setTrainNumbers(value); return this; } public MonitoredVehicleJourneyStructure withJourneyParts(MonitoredVehicleJourneyStructure.JourneyParts value) { setJourneyParts(value); return this; } public MonitoredVehicleJourneyStructure withTrainElements(MonitoredVehicleJourneyStructure.TrainElements value) { setTrainElements(value); return this; } public MonitoredVehicleJourneyStructure withTrains(MonitoredVehicleJourneyStructure.Trains value) { setTrains(value); return this; } public MonitoredVehicleJourneyStructure withCompoundTrains(MonitoredVehicleJourneyStructure.CompoundTrains value) { setCompoundTrains(value); return this; } public MonitoredVehicleJourneyStructure withPreviousCalls(PreviousCallsStructure value) { setPreviousCalls(value); return this; } public MonitoredVehicleJourneyStructure withMonitoredCall(MonitoredCallStructure value) { setMonitoredCall(value); return this; } public MonitoredVehicleJourneyStructure withOnwardCalls(OnwardCallsStructure value) { setOnwardCalls(value); return this; } public MonitoredVehicleJourneyStructure withIsCompleteStopSequence(Boolean value) { setIsCompleteStopSequence(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "compoundTrainRefOrCompoundTrain" }) public static class CompoundTrains { @XmlElements({ @XmlElement(name = "CompoundTrainRef"), @XmlElement(name = "CompoundTrain", type = CompoundTrainStructure.class) }) protected List compoundTrainRefOrCompoundTrain; /** * Gets the value of the compoundTrainRefOrCompoundTrain 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 JAXB object. * This is why there is not a set method for the compoundTrainRefOrCompoundTrain property.

* *

* For example, to add a new item, do as follows: *

*
         * getCompoundTrainRefOrCompoundTrain().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CompoundTrainStructure } * {@link Object } *

* * * @return * The value of the compoundTrainRefOrCompoundTrain property. */ public List getCompoundTrainRefOrCompoundTrain() { if (compoundTrainRefOrCompoundTrain == null) { compoundTrainRefOrCompoundTrain = new ArrayList<>(); } return this.compoundTrainRefOrCompoundTrain; } public MonitoredVehicleJourneyStructure.CompoundTrains withCompoundTrainRefOrCompoundTrain(Object... values) { if (values!= null) { for (Object value: values) { getCompoundTrainRefOrCompoundTrain().add(value); } } return this; } public MonitoredVehicleJourneyStructure.CompoundTrains withCompoundTrainRefOrCompoundTrain(Collection values) { if (values!= null) { getCompoundTrainRefOrCompoundTrain().addAll(values); } return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "journeyPartInfo" }) public static class JourneyParts { @XmlElement(name = "JourneyPartInfo", required = true) protected List journeyPartInfo; /** * Gets the value of the journeyPartInfo 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 JAXB object. * This is why there is not a set method for the journeyPartInfo property.

* *

* For example, to add a new item, do as follows: *

*
         * getJourneyPartInfo().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JourneyPartInfoStructure } *

* * * @return * The value of the journeyPartInfo property. */ public List getJourneyPartInfo() { if (journeyPartInfo == null) { journeyPartInfo = new ArrayList<>(); } return this.journeyPartInfo; } public MonitoredVehicleJourneyStructure.JourneyParts withJourneyPartInfo(JourneyPartInfoStructure... values) { if (values!= null) { for (JourneyPartInfoStructure value: values) { getJourneyPartInfo().add(value); } } return this; } public MonitoredVehicleJourneyStructure.JourneyParts withJourneyPartInfo(Collection values) { if (values!= null) { getJourneyPartInfo().addAll(values); } return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "trainElementRefOrTrainElement" }) public static class TrainElements { @XmlElements({ @XmlElement(name = "TrainElementRef", type = TrainElementRefStructure.class), @XmlElement(name = "TrainElement", type = TrainElementStructure.class) }) protected List trainElementRefOrTrainElement; /** * Gets the value of the trainElementRefOrTrainElement 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 JAXB object. * This is why there is not a set method for the trainElementRefOrTrainElement property.

* *

* For example, to add a new item, do as follows: *

*
         * getTrainElementRefOrTrainElement().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrainElementRefStructure } * {@link TrainElementStructure } *

* * * @return * The value of the trainElementRefOrTrainElement property. */ public List getTrainElementRefOrTrainElement() { if (trainElementRefOrTrainElement == null) { trainElementRefOrTrainElement = new ArrayList<>(); } return this.trainElementRefOrTrainElement; } public MonitoredVehicleJourneyStructure.TrainElements withTrainElementRefOrTrainElement(Object... values) { if (values!= null) { for (Object value: values) { getTrainElementRefOrTrainElement().add(value); } } return this; } public MonitoredVehicleJourneyStructure.TrainElements withTrainElementRefOrTrainElement(Collection values) { if (values!= null) { getTrainElementRefOrTrainElement().addAll(values); } return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "trainNumberRef" }) public static class TrainNumbers { @XmlElement(name = "TrainNumberRef", required = true) protected List trainNumberRef; /** * Gets the value of the trainNumberRef 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 JAXB object. * This is why there is not a set method for the trainNumberRef property.

* *

* For example, to add a new item, do as follows: *

*
         * getTrainNumberRef().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrainNumberRefStructure } *

* * * @return * The value of the trainNumberRef property. */ public List getTrainNumberRef() { if (trainNumberRef == null) { trainNumberRef = new ArrayList<>(); } return this.trainNumberRef; } public MonitoredVehicleJourneyStructure.TrainNumbers withTrainNumberRef(TrainNumberRefStructure... values) { if (values!= null) { for (TrainNumberRefStructure value: values) { getTrainNumberRef().add(value); } } return this; } public MonitoredVehicleJourneyStructure.TrainNumbers withTrainNumberRef(Collection values) { if (values!= null) { getTrainNumberRef().addAll(values); } return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } } /** *

Java class for anonymous complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "trainRefOrTrain" }) public static class Trains { @XmlElements({ @XmlElement(name = "TrainRef"), @XmlElement(name = "Train", type = TrainStructure.class) }) protected List trainRefOrTrain; /** * Gets the value of the trainRefOrTrain 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 JAXB object. * This is why there is not a set method for the trainRefOrTrain property.

* *

* For example, to add a new item, do as follows: *

*
         * getTrainRefOrTrain().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrainStructure } * {@link Object } *

* * * @return * The value of the trainRefOrTrain property. */ public List getTrainRefOrTrain() { if (trainRefOrTrain == null) { trainRefOrTrain = new ArrayList<>(); } return this.trainRefOrTrain; } public MonitoredVehicleJourneyStructure.Trains withTrainRefOrTrain(Object... values) { if (values!= null) { for (Object value: values) { getTrainRefOrTrain().add(value); } } return this; } public MonitoredVehicleJourneyStructure.Trains withTrainRefOrTrain(Collection values) { if (values!= null) { getTrainRefOrTrain().addAll(values); } return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } } }