
de.vdv.ojp20.siri.DatedVehicleJourneyStructure Maven / Gradle / Ivy
Show all versions of ojp-java-model Show documentation
//
// 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.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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for DatedVehicleJourneyStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatedVehicleJourneyStructure", propOrder = {
"datedVehicleJourneyCode",
"framedVehicleJourneyRef",
"vehicleJourneyRef",
"extraJourney",
"cancellation",
"journeyPatternRef",
"journeyPatternName",
"vehicleMode",
"routeRef",
"publishedLineName",
"groupOfLinesRef",
"directionName",
"externalLineRef",
"brandingRef",
"branding",
"originRef",
"originName",
"originShortName",
"destinationDisplayAtOrigin",
"via",
"destinationRef",
"destinationName",
"destinationShortName",
"originDisplayAtDestination",
"operatorRef",
"productCategoryRef",
"serviceFeatureRef",
"vehicleFeatureRef",
"vehicleJourneyName",
"journeyNote",
"publicContact",
"operationsContact",
"originDisplay",
"destinationDisplay",
"lineNote",
"firstOrLastJourney",
"headwayService",
"monitored",
"trainBlockPart",
"blockRef",
"courseOfJourneyRef",
"vehicleRef",
"trainNumbers",
"journeyParts",
"trainElements",
"trains",
"compoundTrains",
"datedCalls",
"journeyRelations",
"extensions"
})
public class DatedVehicleJourneyStructure {
@XmlElement(name = "DatedVehicleJourneyCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String datedVehicleJourneyCode;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@XmlElement(name = "VehicleJourneyRef")
protected VehicleJourneyRefStructure vehicleJourneyRef;
@XmlElement(name = "ExtraJourney", defaultValue = "false")
protected Boolean extraJourney;
@XmlElement(name = "Cancellation", defaultValue = "false")
protected Boolean cancellation;
@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 = "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 = "OperatorRef")
protected OperatorRefStructure operatorRef;
@XmlElement(name = "ProductCategoryRef")
protected ProductCategoryRefStructure productCategoryRef;
@XmlElement(name = "ServiceFeatureRef")
protected List serviceFeatureRef;
@XmlElement(name = "VehicleFeatureRef")
protected List vehicleFeatureRef;
@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 = "OriginDisplay")
protected List originDisplay;
@XmlElement(name = "DestinationDisplay")
protected List destinationDisplay;
@XmlElement(name = "LineNote")
protected List lineNote;
@XmlElement(name = "FirstOrLastJourney", defaultValue = "unspecified")
@XmlSchemaType(name = "NMTOKEN")
protected FirstOrLastJourneyEnumeration firstOrLastJourney;
@XmlElement(name = "HeadwayService")
protected Boolean headwayService;
@XmlElement(name = "Monitored", defaultValue = "true")
protected Boolean monitored;
@XmlElement(name = "TrainBlockPart")
protected List trainBlockPart;
@XmlElement(name = "BlockRef")
protected BlockRefStructure blockRef;
@XmlElement(name = "CourseOfJourneyRef")
protected CourseOfJourneyRefStructure courseOfJourneyRef;
@XmlElement(name = "VehicleRef")
protected VehicleRefStructure vehicleRef;
@XmlElement(name = "TrainNumbers")
protected DatedVehicleJourneyStructure.TrainNumbers trainNumbers;
@XmlElement(name = "JourneyParts")
protected DatedVehicleJourneyStructure.JourneyParts journeyParts;
@XmlElement(name = "TrainElements")
protected de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements trainElements;
@XmlElement(name = "Trains")
protected de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains trains;
@XmlElement(name = "CompoundTrains")
protected de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains compoundTrains;
@XmlElement(name = "DatedCalls", required = true)
protected DatedVehicleJourneyStructure.DatedCalls datedCalls;
@XmlElement(name = "JourneyRelations")
protected JourneyRelationsStructure journeyRelations;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the datedVehicleJourneyCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDatedVehicleJourneyCode() {
return datedVehicleJourneyCode;
}
/**
* Sets the value of the datedVehicleJourneyCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDatedVehicleJourneyCode(String value) {
this.datedVehicleJourneyCode = value;
}
/**
* Gets the value of the 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 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 extraJourney property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExtraJourney() {
return extraJourney;
}
/**
* Sets the value of the extraJourney property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExtraJourney(Boolean value) {
this.extraJourney = value;
}
/**
* Gets the value of the cancellation property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCancellation() {
return cancellation;
}
/**
* Sets the value of the cancellation property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCancellation(Boolean value) {
this.cancellation = value;
}
/**
* Gets the value of the 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 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 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 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 originDisplay 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 originDisplay property.
*
*
* For example, to add a new item, do as follows:
*
*
* getOriginDisplay().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the originDisplay property.
*/
public List getOriginDisplay() {
if (originDisplay == null) {
originDisplay = new ArrayList<>();
}
return this.originDisplay;
}
/**
* Gets the value of the destinationDisplay 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 destinationDisplay property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDestinationDisplay().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the destinationDisplay property.
*/
public List getDestinationDisplay() {
if (destinationDisplay == null) {
destinationDisplay = new ArrayList<>();
}
return this.destinationDisplay;
}
/**
* Gets the value of the lineNote 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 lineNote property.
*
*
* For example, to add a new item, do as follows:
*
*
* getLineNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*
* @return
* The value of the lineNote property.
*/
public List getLineNote() {
if (lineNote == null) {
lineNote = new ArrayList<>();
}
return this.lineNote;
}
/**
* Gets the value of the firstOrLastJourney property.
*
* @return
* possible object is
* {@link FirstOrLastJourneyEnumeration }
*
*/
public FirstOrLastJourneyEnumeration getFirstOrLastJourney() {
return firstOrLastJourney;
}
/**
* Sets the value of the firstOrLastJourney property.
*
* @param value
* allowed object is
* {@link FirstOrLastJourneyEnumeration }
*
*/
public void setFirstOrLastJourney(FirstOrLastJourneyEnumeration value) {
this.firstOrLastJourney = value;
}
/**
* Gets the value of the headwayService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHeadwayService() {
return headwayService;
}
/**
* Sets the value of the headwayService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHeadwayService(Boolean value) {
this.headwayService = value;
}
/**
* Gets the value of the monitored property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMonitored() {
return monitored;
}
/**
* Sets the value of the monitored property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMonitored(Boolean value) {
this.monitored = value;
}
/**
* Gets the value of the 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 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 trainNumbers property.
*
* @return
* possible object is
* {@link DatedVehicleJourneyStructure.TrainNumbers }
*
*/
public DatedVehicleJourneyStructure.TrainNumbers getTrainNumbers() {
return trainNumbers;
}
/**
* Sets the value of the trainNumbers property.
*
* @param value
* allowed object is
* {@link DatedVehicleJourneyStructure.TrainNumbers }
*
*/
public void setTrainNumbers(DatedVehicleJourneyStructure.TrainNumbers value) {
this.trainNumbers = value;
}
/**
* Gets the value of the journeyParts property.
*
* @return
* possible object is
* {@link DatedVehicleJourneyStructure.JourneyParts }
*
*/
public DatedVehicleJourneyStructure.JourneyParts getJourneyParts() {
return journeyParts;
}
/**
* Sets the value of the journeyParts property.
*
* @param value
* allowed object is
* {@link DatedVehicleJourneyStructure.JourneyParts }
*
*/
public void setJourneyParts(DatedVehicleJourneyStructure.JourneyParts value) {
this.journeyParts = value;
}
/**
* Gets the value of the trainElements property.
*
* @return
* possible object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements }
*
*/
public de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements getTrainElements() {
return trainElements;
}
/**
* Sets the value of the trainElements property.
*
* @param value
* allowed object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements }
*
*/
public void setTrainElements(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements value) {
this.trainElements = value;
}
/**
* Gets the value of the trains property.
*
* @return
* possible object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains }
*
*/
public de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains getTrains() {
return trains;
}
/**
* Sets the value of the trains property.
*
* @param value
* allowed object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains }
*
*/
public void setTrains(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains value) {
this.trains = value;
}
/**
* Gets the value of the compoundTrains property.
*
* @return
* possible object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains }
*
*/
public de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains getCompoundTrains() {
return compoundTrains;
}
/**
* Sets the value of the compoundTrains property.
*
* @param value
* allowed object is
* {@link de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains }
*
*/
public void setCompoundTrains(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains value) {
this.compoundTrains = value;
}
/**
* Gets the value of the datedCalls property.
*
* @return
* possible object is
* {@link DatedVehicleJourneyStructure.DatedCalls }
*
*/
public DatedVehicleJourneyStructure.DatedCalls getDatedCalls() {
return datedCalls;
}
/**
* Sets the value of the datedCalls property.
*
* @param value
* allowed object is
* {@link DatedVehicleJourneyStructure.DatedCalls }
*
*/
public void setDatedCalls(DatedVehicleJourneyStructure.DatedCalls value) {
this.datedCalls = value;
}
/**
* Gets the value of the journeyRelations property.
*
* @return
* possible object is
* {@link JourneyRelationsStructure }
*
*/
public JourneyRelationsStructure getJourneyRelations() {
return journeyRelations;
}
/**
* Sets the value of the journeyRelations property.
*
* @param value
* allowed object is
* {@link JourneyRelationsStructure }
*
*/
public void setJourneyRelations(JourneyRelationsStructure value) {
this.journeyRelations = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public DatedVehicleJourneyStructure withDatedVehicleJourneyCode(String value) {
setDatedVehicleJourneyCode(value);
return this;
}
public DatedVehicleJourneyStructure withFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) {
setFramedVehicleJourneyRef(value);
return this;
}
public DatedVehicleJourneyStructure withVehicleJourneyRef(VehicleJourneyRefStructure value) {
setVehicleJourneyRef(value);
return this;
}
public DatedVehicleJourneyStructure withExtraJourney(Boolean value) {
setExtraJourney(value);
return this;
}
public DatedVehicleJourneyStructure withCancellation(Boolean value) {
setCancellation(value);
return this;
}
public DatedVehicleJourneyStructure withJourneyPatternRef(JourneyPatternRefStructure value) {
setJourneyPatternRef(value);
return this;
}
public DatedVehicleJourneyStructure withJourneyPatternName(NaturalLanguageStringStructure value) {
setJourneyPatternName(value);
return this;
}
public DatedVehicleJourneyStructure withVehicleMode(VehicleModesEnumeration... values) {
if (values!= null) {
for (VehicleModesEnumeration value: values) {
getVehicleMode().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withVehicleMode(Collection values) {
if (values!= null) {
getVehicleMode().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withRouteRef(RouteRefStructure value) {
setRouteRef(value);
return this;
}
public DatedVehicleJourneyStructure withPublishedLineName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getPublishedLineName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withPublishedLineName(Collection values) {
if (values!= null) {
getPublishedLineName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withGroupOfLinesRef(GroupOfLinesRefStructure value) {
setGroupOfLinesRef(value);
return this;
}
public DatedVehicleJourneyStructure withDirectionName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDirectionName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withDirectionName(Collection values) {
if (values!= null) {
getDirectionName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withExternalLineRef(LineRefStructure value) {
setExternalLineRef(value);
return this;
}
public DatedVehicleJourneyStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
public DatedVehicleJourneyStructure withBranding(BrandingStructure value) {
setBranding(value);
return this;
}
public DatedVehicleJourneyStructure withOriginRef(JourneyPlaceRefStructure value) {
setOriginRef(value);
return this;
}
public DatedVehicleJourneyStructure withOriginName(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getOriginName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withOriginName(Collection values) {
if (values!= null) {
getOriginName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withOriginShortName(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getOriginShortName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withOriginShortName(Collection values) {
if (values!= null) {
getOriginShortName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withDestinationDisplayAtOrigin(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getDestinationDisplayAtOrigin().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withDestinationDisplayAtOrigin(Collection values) {
if (values!= null) {
getDestinationDisplayAtOrigin().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withVia(ViaNameStructure... values) {
if (values!= null) {
for (ViaNameStructure value: values) {
getVia().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withVia(Collection values) {
if (values!= null) {
getVia().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withDestinationRef(DestinationRefStructure value) {
setDestinationRef(value);
return this;
}
public DatedVehicleJourneyStructure withDestinationName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDestinationName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withDestinationName(Collection values) {
if (values!= null) {
getDestinationName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withDestinationShortName(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getDestinationShortName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withDestinationShortName(Collection values) {
if (values!= null) {
getDestinationShortName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withOriginDisplayAtDestination(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getOriginDisplayAtDestination().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withOriginDisplayAtDestination(Collection values) {
if (values!= null) {
getOriginDisplayAtDestination().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withOperatorRef(OperatorRefStructure value) {
setOperatorRef(value);
return this;
}
public DatedVehicleJourneyStructure withProductCategoryRef(ProductCategoryRefStructure value) {
setProductCategoryRef(value);
return this;
}
public DatedVehicleJourneyStructure withServiceFeatureRef(ServiceFeatureRefStructure... values) {
if (values!= null) {
for (ServiceFeatureRefStructure value: values) {
getServiceFeatureRef().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withServiceFeatureRef(Collection values) {
if (values!= null) {
getServiceFeatureRef().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withVehicleFeatureRef(VehicleFeatureRefStructure... values) {
if (values!= null) {
for (VehicleFeatureRefStructure value: values) {
getVehicleFeatureRef().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withVehicleFeatureRef(Collection values) {
if (values!= null) {
getVehicleFeatureRef().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withVehicleJourneyName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getVehicleJourneyName().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withVehicleJourneyName(Collection values) {
if (values!= null) {
getVehicleJourneyName().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withJourneyNote(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getJourneyNote().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withJourneyNote(Collection values) {
if (values!= null) {
getJourneyNote().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withPublicContact(SimpleContactStructure value) {
setPublicContact(value);
return this;
}
public DatedVehicleJourneyStructure withOperationsContact(SimpleContactStructure value) {
setOperationsContact(value);
return this;
}
public DatedVehicleJourneyStructure withOriginDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getOriginDisplay().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withOriginDisplay(Collection values) {
if (values!= null) {
getOriginDisplay().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withDestinationDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDestinationDisplay().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withDestinationDisplay(Collection values) {
if (values!= null) {
getDestinationDisplay().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withLineNote(NaturalLanguagePlaceNameStructure... values) {
if (values!= null) {
for (NaturalLanguagePlaceNameStructure value: values) {
getLineNote().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withLineNote(Collection values) {
if (values!= null) {
getLineNote().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withFirstOrLastJourney(FirstOrLastJourneyEnumeration value) {
setFirstOrLastJourney(value);
return this;
}
public DatedVehicleJourneyStructure withHeadwayService(Boolean value) {
setHeadwayService(value);
return this;
}
public DatedVehicleJourneyStructure withMonitored(Boolean value) {
setMonitored(value);
return this;
}
public DatedVehicleJourneyStructure withTrainBlockPart(TrainBlockPartStructure... values) {
if (values!= null) {
for (TrainBlockPartStructure value: values) {
getTrainBlockPart().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure withTrainBlockPart(Collection values) {
if (values!= null) {
getTrainBlockPart().addAll(values);
}
return this;
}
public DatedVehicleJourneyStructure withBlockRef(BlockRefStructure value) {
setBlockRef(value);
return this;
}
public DatedVehicleJourneyStructure withCourseOfJourneyRef(CourseOfJourneyRefStructure value) {
setCourseOfJourneyRef(value);
return this;
}
public DatedVehicleJourneyStructure withVehicleRef(VehicleRefStructure value) {
setVehicleRef(value);
return this;
}
public DatedVehicleJourneyStructure withTrainNumbers(DatedVehicleJourneyStructure.TrainNumbers value) {
setTrainNumbers(value);
return this;
}
public DatedVehicleJourneyStructure withJourneyParts(DatedVehicleJourneyStructure.JourneyParts value) {
setJourneyParts(value);
return this;
}
public DatedVehicleJourneyStructure withTrainElements(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.TrainElements value) {
setTrainElements(value);
return this;
}
public DatedVehicleJourneyStructure withTrains(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.Trains value) {
setTrains(value);
return this;
}
public DatedVehicleJourneyStructure withCompoundTrains(de.vdv.ojp20.siri.MonitoredVehicleJourneyStructure.CompoundTrains value) {
setCompoundTrains(value);
return this;
}
public DatedVehicleJourneyStructure withDatedCalls(DatedVehicleJourneyStructure.DatedCalls value) {
setDatedCalls(value);
return this;
}
public DatedVehicleJourneyStructure withJourneyRelations(JourneyRelationsStructure value) {
setJourneyRelations(value);
return this;
}
public DatedVehicleJourneyStructure withExtensions(ExtensionsStructure value) {
setExtensions(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 = {
"datedCall"
})
public static class DatedCalls {
@XmlElement(name = "DatedCall", required = true)
protected List datedCall;
/**
* Gets the value of the datedCall 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 datedCall property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDatedCall().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DatedCallStructure }
*
*
*
* @return
* The value of the datedCall property.
*/
public List getDatedCall() {
if (datedCall == null) {
datedCall = new ArrayList<>();
}
return this.datedCall;
}
public DatedVehicleJourneyStructure.DatedCalls withDatedCall(DatedCallStructure... values) {
if (values!= null) {
for (DatedCallStructure value: values) {
getDatedCall().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure.DatedCalls withDatedCall(Collection values) {
if (values!= null) {
getDatedCall().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 DatedJourneyPartInfoStructure }
*
*
*
* @return
* The value of the journeyPartInfo property.
*/
public List getJourneyPartInfo() {
if (journeyPartInfo == null) {
journeyPartInfo = new ArrayList<>();
}
return this.journeyPartInfo;
}
public DatedVehicleJourneyStructure.JourneyParts withJourneyPartInfo(DatedJourneyPartInfoStructure... values) {
if (values!= null) {
for (DatedJourneyPartInfoStructure value: values) {
getJourneyPartInfo().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure.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 = {
"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 DatedVehicleJourneyStructure.TrainNumbers withTrainNumberRef(TrainNumberRefStructure... values) {
if (values!= null) {
for (TrainNumberRefStructure value: values) {
getTrainNumberRef().add(value);
}
}
return this;
}
public DatedVehicleJourneyStructure.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);
}
}
}