
de.vdv.ojp20.siri.DatedCallStructure 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.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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;
import org.opentripplanner.ojp.util.DurationXmlAdapter;
import org.opentripplanner.ojp.util.XmlDateTimeAdapter;
/**
* Java class for DatedCallStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatedCallStructure", propOrder = {
"stopPointRef",
"visitNumber",
"order",
"stopPointName",
"extraCall",
"cancellation",
"timingPoint",
"boardingStretch",
"requestStop",
"originDisplay",
"destinationDisplay",
"callNote",
"aimedArrivalTime",
"arrivalPlatformName",
"arrivalBoardingActivity",
"arrivalStopAssignment",
"arrivalFormationAssignment",
"arrivalOperatorRefs",
"aimedDepartureTime",
"departurePlatformName",
"departureBoardingActivity",
"departureStopAssignment",
"departureFormationAssignment",
"departureOperatorRefs",
"aimedLatestPassengerAccessTime",
"aimedHeadwayInterval",
"targetedInterchange",
"fromServiceJourneyInterchange",
"toServiceJourneyInterchange",
"extensions"
})
public class DatedCallStructure {
@XmlElement(name = "StopPointRef", required = true)
protected StopPointRefStructure stopPointRef;
@XmlElement(name = "VisitNumber")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger visitNumber;
@XmlElement(name = "Order")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger order;
@XmlElement(name = "StopPointName")
protected List stopPointName;
@XmlElement(name = "ExtraCall", defaultValue = "false")
protected Boolean extraCall;
@XmlElement(name = "Cancellation", defaultValue = "false")
protected Boolean cancellation;
@XmlElement(name = "TimingPoint", defaultValue = "true")
protected Boolean timingPoint;
@XmlElement(name = "BoardingStretch", defaultValue = "false")
protected Boolean boardingStretch;
@XmlElement(name = "RequestStop", defaultValue = "false")
protected Boolean requestStop;
@XmlElement(name = "OriginDisplay")
protected List originDisplay;
@XmlElement(name = "DestinationDisplay")
protected List destinationDisplay;
@XmlElement(name = "CallNote")
protected List callNote;
@XmlElement(name = "AimedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedArrivalTime;
@XmlElement(name = "ArrivalPlatformName")
protected NaturalLanguageStringStructure arrivalPlatformName;
@XmlElement(name = "ArrivalBoardingActivity", defaultValue = "alighting")
@XmlSchemaType(name = "NMTOKEN")
protected ArrivalBoardingActivityEnumeration arrivalBoardingActivity;
@XmlElement(name = "ArrivalStopAssignment")
protected List arrivalStopAssignment;
@XmlElement(name = "ArrivalFormationAssignment")
protected List arrivalFormationAssignment;
@XmlElement(name = "ArrivalOperatorRefs")
protected List arrivalOperatorRefs;
@XmlElement(name = "AimedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedDepartureTime;
@XmlElement(name = "DeparturePlatformName")
protected NaturalLanguageStringStructure departurePlatformName;
@XmlElement(name = "DepartureBoardingActivity", defaultValue = "boarding")
@XmlSchemaType(name = "NMTOKEN")
protected DepartureBoardingActivityEnumeration departureBoardingActivity;
@XmlElement(name = "DepartureStopAssignment")
protected List departureStopAssignment;
@XmlElement(name = "DepartureFormationAssignment")
protected List departureFormationAssignment;
@XmlElement(name = "DepartureOperatorRefs")
protected List departureOperatorRefs;
@XmlElement(name = "AimedLatestPassengerAccessTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedLatestPassengerAccessTime;
@XmlElement(name = "AimedHeadwayInterval", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration aimedHeadwayInterval;
@XmlElement(name = "TargetedInterchange")
protected List targetedInterchange;
@XmlElement(name = "FromServiceJourneyInterchange")
protected List fromServiceJourneyInterchange;
@XmlElement(name = "ToServiceJourneyInterchange")
protected List toServiceJourneyInterchange;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the stopPointRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getStopPointRef() {
return stopPointRef;
}
/**
* Sets the value of the stopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setStopPointRef(StopPointRefStructure value) {
this.stopPointRef = value;
}
/**
* Gets the value of the visitNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVisitNumber() {
return visitNumber;
}
/**
* Sets the value of the visitNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVisitNumber(BigInteger value) {
this.visitNumber = value;
}
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOrder(BigInteger value) {
this.order = value;
}
/**
* Gets the value of the stopPointName 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 stopPointName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getStopPointName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the stopPointName property.
*/
public List getStopPointName() {
if (stopPointName == null) {
stopPointName = new ArrayList<>();
}
return this.stopPointName;
}
/**
* Gets the value of the extraCall property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExtraCall() {
return extraCall;
}
/**
* Sets the value of the extraCall property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExtraCall(Boolean value) {
this.extraCall = 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 timingPoint property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTimingPoint() {
return timingPoint;
}
/**
* Sets the value of the timingPoint property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTimingPoint(Boolean value) {
this.timingPoint = value;
}
/**
* Gets the value of the boardingStretch property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isBoardingStretch() {
return boardingStretch;
}
/**
* Sets the value of the boardingStretch property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setBoardingStretch(Boolean value) {
this.boardingStretch = value;
}
/**
* Gets the value of the requestStop property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRequestStop() {
return requestStop;
}
/**
* Sets the value of the requestStop property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequestStop(Boolean value) {
this.requestStop = 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 callNote 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 callNote property.
*
*
* For example, to add a new item, do as follows:
*
*
* getCallNote().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the callNote property.
*/
public List getCallNote() {
if (callNote == null) {
callNote = new ArrayList<>();
}
return this.callNote;
}
/**
* Gets the value of the aimedArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getAimedArrivalTime() {
return aimedArrivalTime;
}
/**
* Sets the value of the aimedArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedArrivalTime(XmlDateTime value) {
this.aimedArrivalTime = value;
}
/**
* Gets the value of the arrivalPlatformName property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getArrivalPlatformName() {
return arrivalPlatformName;
}
/**
* Sets the value of the arrivalPlatformName property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setArrivalPlatformName(NaturalLanguageStringStructure value) {
this.arrivalPlatformName = value;
}
/**
* Gets the value of the arrivalBoardingActivity property.
*
* @return
* possible object is
* {@link ArrivalBoardingActivityEnumeration }
*
*/
public ArrivalBoardingActivityEnumeration getArrivalBoardingActivity() {
return arrivalBoardingActivity;
}
/**
* Sets the value of the arrivalBoardingActivity property.
*
* @param value
* allowed object is
* {@link ArrivalBoardingActivityEnumeration }
*
*/
public void setArrivalBoardingActivity(ArrivalBoardingActivityEnumeration value) {
this.arrivalBoardingActivity = value;
}
/**
* Gets the value of the arrivalStopAssignment 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 arrivalStopAssignment property.
*
*
* For example, to add a new item, do as follows:
*
*
* getArrivalStopAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PlannedStopAssignmentStructure }
*
*
*
* @return
* The value of the arrivalStopAssignment property.
*/
public List getArrivalStopAssignment() {
if (arrivalStopAssignment == null) {
arrivalStopAssignment = new ArrayList<>();
}
return this.arrivalStopAssignment;
}
/**
* Gets the value of the arrivalFormationAssignment 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 arrivalFormationAssignment property.
*
*
* For example, to add a new item, do as follows:
*
*
* getArrivalFormationAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FormationAssignmentStructure }
*
*
*
* @return
* The value of the arrivalFormationAssignment property.
*/
public List getArrivalFormationAssignment() {
if (arrivalFormationAssignment == null) {
arrivalFormationAssignment = new ArrayList<>();
}
return this.arrivalFormationAssignment;
}
/**
* Gets the value of the arrivalOperatorRefs 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 arrivalOperatorRefs property.
*
*
* For example, to add a new item, do as follows:
*
*
* getArrivalOperatorRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OperatorRefStructure }
*
*
*
* @return
* The value of the arrivalOperatorRefs property.
*/
public List getArrivalOperatorRefs() {
if (arrivalOperatorRefs == null) {
arrivalOperatorRefs = new ArrayList<>();
}
return this.arrivalOperatorRefs;
}
/**
* Gets the value of the aimedDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getAimedDepartureTime() {
return aimedDepartureTime;
}
/**
* Sets the value of the aimedDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedDepartureTime(XmlDateTime value) {
this.aimedDepartureTime = value;
}
/**
* Gets the value of the departurePlatformName property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getDeparturePlatformName() {
return departurePlatformName;
}
/**
* Sets the value of the departurePlatformName property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setDeparturePlatformName(NaturalLanguageStringStructure value) {
this.departurePlatformName = value;
}
/**
* Gets the value of the departureBoardingActivity property.
*
* @return
* possible object is
* {@link DepartureBoardingActivityEnumeration }
*
*/
public DepartureBoardingActivityEnumeration getDepartureBoardingActivity() {
return departureBoardingActivity;
}
/**
* Sets the value of the departureBoardingActivity property.
*
* @param value
* allowed object is
* {@link DepartureBoardingActivityEnumeration }
*
*/
public void setDepartureBoardingActivity(DepartureBoardingActivityEnumeration value) {
this.departureBoardingActivity = value;
}
/**
* Gets the value of the departureStopAssignment 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 departureStopAssignment property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDepartureStopAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PlannedStopAssignmentStructure }
*
*
*
* @return
* The value of the departureStopAssignment property.
*/
public List getDepartureStopAssignment() {
if (departureStopAssignment == null) {
departureStopAssignment = new ArrayList<>();
}
return this.departureStopAssignment;
}
/**
* Gets the value of the departureFormationAssignment 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 departureFormationAssignment property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDepartureFormationAssignment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FormationAssignmentStructure }
*
*
*
* @return
* The value of the departureFormationAssignment property.
*/
public List getDepartureFormationAssignment() {
if (departureFormationAssignment == null) {
departureFormationAssignment = new ArrayList<>();
}
return this.departureFormationAssignment;
}
/**
* Gets the value of the departureOperatorRefs 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 departureOperatorRefs property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDepartureOperatorRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OperatorRefStructure }
*
*
*
* @return
* The value of the departureOperatorRefs property.
*/
public List getDepartureOperatorRefs() {
if (departureOperatorRefs == null) {
departureOperatorRefs = new ArrayList<>();
}
return this.departureOperatorRefs;
}
/**
* Gets the value of the aimedLatestPassengerAccessTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getAimedLatestPassengerAccessTime() {
return aimedLatestPassengerAccessTime;
}
/**
* Sets the value of the aimedLatestPassengerAccessTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedLatestPassengerAccessTime(XmlDateTime value) {
this.aimedLatestPassengerAccessTime = value;
}
/**
* Gets the value of the aimedHeadwayInterval property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getAimedHeadwayInterval() {
return aimedHeadwayInterval;
}
/**
* Sets the value of the aimedHeadwayInterval property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedHeadwayInterval(Duration value) {
this.aimedHeadwayInterval = value;
}
/**
* Gets the value of the targetedInterchange 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 targetedInterchange property.
*
*
* For example, to add a new item, do as follows:
*
*
* getTargetedInterchange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TargetedInterchangeStructure }
*
*
*
* @return
* The value of the targetedInterchange property.
*/
public List getTargetedInterchange() {
if (targetedInterchange == null) {
targetedInterchange = new ArrayList<>();
}
return this.targetedInterchange;
}
/**
* Gets the value of the fromServiceJourneyInterchange 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 fromServiceJourneyInterchange property.
*
*
* For example, to add a new item, do as follows:
*
*
* getFromServiceJourneyInterchange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FromServiceJourneyInterchangeStructure }
*
*
*
* @return
* The value of the fromServiceJourneyInterchange property.
*/
public List getFromServiceJourneyInterchange() {
if (fromServiceJourneyInterchange == null) {
fromServiceJourneyInterchange = new ArrayList<>();
}
return this.fromServiceJourneyInterchange;
}
/**
* Gets the value of the toServiceJourneyInterchange 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 toServiceJourneyInterchange property.
*
*
* For example, to add a new item, do as follows:
*
*
* getToServiceJourneyInterchange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ToServiceJourneyInterchangeStructure }
*
*
*
* @return
* The value of the toServiceJourneyInterchange property.
*/
public List getToServiceJourneyInterchange() {
if (toServiceJourneyInterchange == null) {
toServiceJourneyInterchange = new ArrayList<>();
}
return this.toServiceJourneyInterchange;
}
/**
* 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 DatedCallStructure withStopPointRef(StopPointRefStructure value) {
setStopPointRef(value);
return this;
}
public DatedCallStructure withVisitNumber(BigInteger value) {
setVisitNumber(value);
return this;
}
public DatedCallStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
public DatedCallStructure withStopPointName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getStopPointName().add(value);
}
}
return this;
}
public DatedCallStructure withStopPointName(Collection values) {
if (values!= null) {
getStopPointName().addAll(values);
}
return this;
}
public DatedCallStructure withExtraCall(Boolean value) {
setExtraCall(value);
return this;
}
public DatedCallStructure withCancellation(Boolean value) {
setCancellation(value);
return this;
}
public DatedCallStructure withTimingPoint(Boolean value) {
setTimingPoint(value);
return this;
}
public DatedCallStructure withBoardingStretch(Boolean value) {
setBoardingStretch(value);
return this;
}
public DatedCallStructure withRequestStop(Boolean value) {
setRequestStop(value);
return this;
}
public DatedCallStructure withOriginDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getOriginDisplay().add(value);
}
}
return this;
}
public DatedCallStructure withOriginDisplay(Collection values) {
if (values!= null) {
getOriginDisplay().addAll(values);
}
return this;
}
public DatedCallStructure withDestinationDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDestinationDisplay().add(value);
}
}
return this;
}
public DatedCallStructure withDestinationDisplay(Collection values) {
if (values!= null) {
getDestinationDisplay().addAll(values);
}
return this;
}
public DatedCallStructure withCallNote(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getCallNote().add(value);
}
}
return this;
}
public DatedCallStructure withCallNote(Collection values) {
if (values!= null) {
getCallNote().addAll(values);
}
return this;
}
public DatedCallStructure withAimedArrivalTime(XmlDateTime value) {
setAimedArrivalTime(value);
return this;
}
public DatedCallStructure withArrivalPlatformName(NaturalLanguageStringStructure value) {
setArrivalPlatformName(value);
return this;
}
public DatedCallStructure withArrivalBoardingActivity(ArrivalBoardingActivityEnumeration value) {
setArrivalBoardingActivity(value);
return this;
}
public DatedCallStructure withArrivalStopAssignment(PlannedStopAssignmentStructure... values) {
if (values!= null) {
for (PlannedStopAssignmentStructure value: values) {
getArrivalStopAssignment().add(value);
}
}
return this;
}
public DatedCallStructure withArrivalStopAssignment(Collection values) {
if (values!= null) {
getArrivalStopAssignment().addAll(values);
}
return this;
}
public DatedCallStructure withArrivalFormationAssignment(FormationAssignmentStructure... values) {
if (values!= null) {
for (FormationAssignmentStructure value: values) {
getArrivalFormationAssignment().add(value);
}
}
return this;
}
public DatedCallStructure withArrivalFormationAssignment(Collection values) {
if (values!= null) {
getArrivalFormationAssignment().addAll(values);
}
return this;
}
public DatedCallStructure withArrivalOperatorRefs(OperatorRefStructure... values) {
if (values!= null) {
for (OperatorRefStructure value: values) {
getArrivalOperatorRefs().add(value);
}
}
return this;
}
public DatedCallStructure withArrivalOperatorRefs(Collection values) {
if (values!= null) {
getArrivalOperatorRefs().addAll(values);
}
return this;
}
public DatedCallStructure withAimedDepartureTime(XmlDateTime value) {
setAimedDepartureTime(value);
return this;
}
public DatedCallStructure withDeparturePlatformName(NaturalLanguageStringStructure value) {
setDeparturePlatformName(value);
return this;
}
public DatedCallStructure withDepartureBoardingActivity(DepartureBoardingActivityEnumeration value) {
setDepartureBoardingActivity(value);
return this;
}
public DatedCallStructure withDepartureStopAssignment(PlannedStopAssignmentStructure... values) {
if (values!= null) {
for (PlannedStopAssignmentStructure value: values) {
getDepartureStopAssignment().add(value);
}
}
return this;
}
public DatedCallStructure withDepartureStopAssignment(Collection values) {
if (values!= null) {
getDepartureStopAssignment().addAll(values);
}
return this;
}
public DatedCallStructure withDepartureFormationAssignment(FormationAssignmentStructure... values) {
if (values!= null) {
for (FormationAssignmentStructure value: values) {
getDepartureFormationAssignment().add(value);
}
}
return this;
}
public DatedCallStructure withDepartureFormationAssignment(Collection values) {
if (values!= null) {
getDepartureFormationAssignment().addAll(values);
}
return this;
}
public DatedCallStructure withDepartureOperatorRefs(OperatorRefStructure... values) {
if (values!= null) {
for (OperatorRefStructure value: values) {
getDepartureOperatorRefs().add(value);
}
}
return this;
}
public DatedCallStructure withDepartureOperatorRefs(Collection values) {
if (values!= null) {
getDepartureOperatorRefs().addAll(values);
}
return this;
}
public DatedCallStructure withAimedLatestPassengerAccessTime(XmlDateTime value) {
setAimedLatestPassengerAccessTime(value);
return this;
}
public DatedCallStructure withAimedHeadwayInterval(Duration value) {
setAimedHeadwayInterval(value);
return this;
}
public DatedCallStructure withTargetedInterchange(TargetedInterchangeStructure... values) {
if (values!= null) {
for (TargetedInterchangeStructure value: values) {
getTargetedInterchange().add(value);
}
}
return this;
}
public DatedCallStructure withTargetedInterchange(Collection values) {
if (values!= null) {
getTargetedInterchange().addAll(values);
}
return this;
}
public DatedCallStructure withFromServiceJourneyInterchange(FromServiceJourneyInterchangeStructure... values) {
if (values!= null) {
for (FromServiceJourneyInterchangeStructure value: values) {
getFromServiceJourneyInterchange().add(value);
}
}
return this;
}
public DatedCallStructure withFromServiceJourneyInterchange(Collection values) {
if (values!= null) {
getFromServiceJourneyInterchange().addAll(values);
}
return this;
}
public DatedCallStructure withToServiceJourneyInterchange(ToServiceJourneyInterchangeStructure... values) {
if (values!= null) {
for (ToServiceJourneyInterchangeStructure value: values) {
getToServiceJourneyInterchange().add(value);
}
}
return this;
}
public DatedCallStructure withToServiceJourneyInterchange(Collection values) {
if (values!= null) {
getToServiceJourneyInterchange().addAll(values);
}
return this;
}
public DatedCallStructure 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);
}
}