
de.vdv.ojp20.siri.AffectedCallStructure 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;
import uk.org.ifopt.acsb.AccessibilityAssessmentStructure;
import uk.org.ifopt.ifopt.StopPlaceRefStructure;
/**
* Java class for AffectedCallStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedCallStructure", propOrder = {
"order",
"callCondition",
"vehicleAtStop",
"vehicleLocationAtStop",
"timingPoint",
"boardingStretch",
"requestStop",
"originDisplay",
"destinationDisplay",
"aimedArrivalTime",
"actualArrivalTime",
"expectedArrivalTime",
"arrivalStatus",
"arrivalPlatformName",
"arrivalBoardingActivity",
"aimedDepartureTime",
"actualDepartureTime",
"expectedDepartureTime",
"departureStatus",
"departurePlatformName",
"departureBoardingActivity",
"aimedHeadwayInterval",
"expectedHeadwayInterval",
"affectedInterchanges"
})
public class AffectedCallStructure
extends AffectedStopPointStructure
{
@XmlElement(name = "Order")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger order;
@XmlElement(name = "CallCondition")
@XmlSchemaType(name = "NMTOKEN")
protected List callCondition;
@XmlElement(name = "VehicleAtStop", defaultValue = "false")
protected Boolean vehicleAtStop;
@XmlElement(name = "VehicleLocationAtStop")
protected LocationStructure vehicleLocationAtStop;
@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 = "AimedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedArrivalTime;
@XmlElement(name = "ActualArrivalTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime actualArrivalTime;
@XmlElement(name = "ExpectedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime expectedArrivalTime;
@XmlElement(name = "ArrivalStatus")
@XmlSchemaType(name = "NMTOKEN")
protected CallStatusEnumeration arrivalStatus;
@XmlElement(name = "ArrivalPlatformName")
protected List arrivalPlatformName;
@XmlElement(name = "ArrivalBoardingActivity", defaultValue = "alighting")
@XmlSchemaType(name = "NMTOKEN")
protected ArrivalBoardingActivityEnumeration arrivalBoardingActivity;
@XmlElement(name = "AimedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedDepartureTime;
@XmlElement(name = "ActualDepartureTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime actualDepartureTime;
@XmlElement(name = "ExpectedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime expectedDepartureTime;
@XmlElement(name = "DepartureStatus")
@XmlSchemaType(name = "NMTOKEN")
protected CallStatusEnumeration departureStatus;
@XmlElement(name = "DeparturePlatformName")
protected List departurePlatformName;
@XmlElement(name = "DepartureBoardingActivity", defaultValue = "boarding")
@XmlSchemaType(name = "NMTOKEN")
protected DepartureBoardingActivityEnumeration departureBoardingActivity;
@XmlElement(name = "AimedHeadwayInterval", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration aimedHeadwayInterval;
@XmlElement(name = "ExpectedHeadwayInterval", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration expectedHeadwayInterval;
@XmlElement(name = "AffectedInterchanges")
protected AffectedCallStructure.AffectedInterchanges affectedInterchanges;
/**
* 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 callCondition 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 callCondition property.
*
*
* For example, to add a new item, do as follows:
*
*
* getCallCondition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoutePointTypeEnumeration }
*
*
*
* @return
* The value of the callCondition property.
*/
public List getCallCondition() {
if (callCondition == null) {
callCondition = new ArrayList<>();
}
return this.callCondition;
}
/**
* Gets the value of the vehicleAtStop property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isVehicleAtStop() {
return vehicleAtStop;
}
/**
* Sets the value of the vehicleAtStop property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVehicleAtStop(Boolean value) {
this.vehicleAtStop = value;
}
/**
* Gets the value of the vehicleLocationAtStop property.
*
* @return
* possible object is
* {@link LocationStructure }
*
*/
public LocationStructure getVehicleLocationAtStop() {
return vehicleLocationAtStop;
}
/**
* Sets the value of the vehicleLocationAtStop property.
*
* @param value
* allowed object is
* {@link LocationStructure }
*
*/
public void setVehicleLocationAtStop(LocationStructure value) {
this.vehicleLocationAtStop = 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 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 actualArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getActualArrivalTime() {
return actualArrivalTime;
}
/**
* Sets the value of the actualArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActualArrivalTime(XmlDateTime value) {
this.actualArrivalTime = value;
}
/**
* Gets the value of the expectedArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getExpectedArrivalTime() {
return expectedArrivalTime;
}
/**
* Sets the value of the expectedArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedArrivalTime(XmlDateTime value) {
this.expectedArrivalTime = value;
}
/**
* Gets the value of the arrivalStatus property.
*
* @return
* possible object is
* {@link CallStatusEnumeration }
*
*/
public CallStatusEnumeration getArrivalStatus() {
return arrivalStatus;
}
/**
* Sets the value of the arrivalStatus property.
*
* @param value
* allowed object is
* {@link CallStatusEnumeration }
*
*/
public void setArrivalStatus(CallStatusEnumeration value) {
this.arrivalStatus = value;
}
/**
* Gets the value of the arrivalPlatformName 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 arrivalPlatformName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getArrivalPlatformName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the arrivalPlatformName property.
*/
public List getArrivalPlatformName() {
if (arrivalPlatformName == null) {
arrivalPlatformName = new ArrayList<>();
}
return this.arrivalPlatformName;
}
/**
* 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 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 actualDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getActualDepartureTime() {
return actualDepartureTime;
}
/**
* Sets the value of the actualDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setActualDepartureTime(XmlDateTime value) {
this.actualDepartureTime = value;
}
/**
* Gets the value of the expectedDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getExpectedDepartureTime() {
return expectedDepartureTime;
}
/**
* Sets the value of the expectedDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedDepartureTime(XmlDateTime value) {
this.expectedDepartureTime = value;
}
/**
* Gets the value of the departureStatus property.
*
* @return
* possible object is
* {@link CallStatusEnumeration }
*
*/
public CallStatusEnumeration getDepartureStatus() {
return departureStatus;
}
/**
* Sets the value of the departureStatus property.
*
* @param value
* allowed object is
* {@link CallStatusEnumeration }
*
*/
public void setDepartureStatus(CallStatusEnumeration value) {
this.departureStatus = value;
}
/**
* Gets the value of the departurePlatformName 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 departurePlatformName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDeparturePlatformName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the departurePlatformName property.
*/
public List getDeparturePlatformName() {
if (departurePlatformName == null) {
departurePlatformName = new ArrayList<>();
}
return this.departurePlatformName;
}
/**
* 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 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 expectedHeadwayInterval property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getExpectedHeadwayInterval() {
return expectedHeadwayInterval;
}
/**
* Sets the value of the expectedHeadwayInterval property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedHeadwayInterval(Duration value) {
this.expectedHeadwayInterval = value;
}
/**
* Gets the value of the affectedInterchanges property.
*
* @return
* possible object is
* {@link AffectedCallStructure.AffectedInterchanges }
*
*/
public AffectedCallStructure.AffectedInterchanges getAffectedInterchanges() {
return affectedInterchanges;
}
/**
* Sets the value of the affectedInterchanges property.
*
* @param value
* allowed object is
* {@link AffectedCallStructure.AffectedInterchanges }
*
*/
public void setAffectedInterchanges(AffectedCallStructure.AffectedInterchanges value) {
this.affectedInterchanges = value;
}
public AffectedCallStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
public AffectedCallStructure withCallCondition(RoutePointTypeEnumeration... values) {
if (values!= null) {
for (RoutePointTypeEnumeration value: values) {
getCallCondition().add(value);
}
}
return this;
}
public AffectedCallStructure withCallCondition(Collection values) {
if (values!= null) {
getCallCondition().addAll(values);
}
return this;
}
public AffectedCallStructure withVehicleAtStop(Boolean value) {
setVehicleAtStop(value);
return this;
}
public AffectedCallStructure withVehicleLocationAtStop(LocationStructure value) {
setVehicleLocationAtStop(value);
return this;
}
public AffectedCallStructure withTimingPoint(Boolean value) {
setTimingPoint(value);
return this;
}
public AffectedCallStructure withBoardingStretch(Boolean value) {
setBoardingStretch(value);
return this;
}
public AffectedCallStructure withRequestStop(Boolean value) {
setRequestStop(value);
return this;
}
public AffectedCallStructure withOriginDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getOriginDisplay().add(value);
}
}
return this;
}
public AffectedCallStructure withOriginDisplay(Collection values) {
if (values!= null) {
getOriginDisplay().addAll(values);
}
return this;
}
public AffectedCallStructure withDestinationDisplay(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDestinationDisplay().add(value);
}
}
return this;
}
public AffectedCallStructure withDestinationDisplay(Collection values) {
if (values!= null) {
getDestinationDisplay().addAll(values);
}
return this;
}
public AffectedCallStructure withAimedArrivalTime(XmlDateTime value) {
setAimedArrivalTime(value);
return this;
}
public AffectedCallStructure withActualArrivalTime(XmlDateTime value) {
setActualArrivalTime(value);
return this;
}
public AffectedCallStructure withExpectedArrivalTime(XmlDateTime value) {
setExpectedArrivalTime(value);
return this;
}
public AffectedCallStructure withArrivalStatus(CallStatusEnumeration value) {
setArrivalStatus(value);
return this;
}
public AffectedCallStructure withArrivalPlatformName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getArrivalPlatformName().add(value);
}
}
return this;
}
public AffectedCallStructure withArrivalPlatformName(Collection values) {
if (values!= null) {
getArrivalPlatformName().addAll(values);
}
return this;
}
public AffectedCallStructure withArrivalBoardingActivity(ArrivalBoardingActivityEnumeration value) {
setArrivalBoardingActivity(value);
return this;
}
public AffectedCallStructure withAimedDepartureTime(XmlDateTime value) {
setAimedDepartureTime(value);
return this;
}
public AffectedCallStructure withActualDepartureTime(XmlDateTime value) {
setActualDepartureTime(value);
return this;
}
public AffectedCallStructure withExpectedDepartureTime(XmlDateTime value) {
setExpectedDepartureTime(value);
return this;
}
public AffectedCallStructure withDepartureStatus(CallStatusEnumeration value) {
setDepartureStatus(value);
return this;
}
public AffectedCallStructure withDeparturePlatformName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getDeparturePlatformName().add(value);
}
}
return this;
}
public AffectedCallStructure withDeparturePlatformName(Collection values) {
if (values!= null) {
getDeparturePlatformName().addAll(values);
}
return this;
}
public AffectedCallStructure withDepartureBoardingActivity(DepartureBoardingActivityEnumeration value) {
setDepartureBoardingActivity(value);
return this;
}
public AffectedCallStructure withAimedHeadwayInterval(Duration value) {
setAimedHeadwayInterval(value);
return this;
}
public AffectedCallStructure withExpectedHeadwayInterval(Duration value) {
setExpectedHeadwayInterval(value);
return this;
}
public AffectedCallStructure withAffectedInterchanges(AffectedCallStructure.AffectedInterchanges value) {
setAffectedInterchanges(value);
return this;
}
@Override
public AffectedCallStructure withStopPointRef(StopPointRefStructure value) {
setStopPointRef(value);
return this;
}
@Override
public AffectedCallStructure withPrivateRef(String value) {
setPrivateRef(value);
return this;
}
@Override
public AffectedCallStructure withStopPointName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getStopPointName().add(value);
}
}
return this;
}
@Override
public AffectedCallStructure withStopPointName(Collection values) {
if (values!= null) {
getStopPointName().addAll(values);
}
return this;
}
@Override
public AffectedCallStructure withStopPointType(StopPointTypeEnumeration value) {
setStopPointType(value);
return this;
}
@Override
public AffectedCallStructure withLocation(LocationStructure value) {
setLocation(value);
return this;
}
@Override
public AffectedCallStructure withStopPlaceRef(StopPlaceRefStructure value) {
setStopPlaceRef(value);
return this;
}
@Override
public AffectedCallStructure withStopPlaceName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getStopPlaceName().add(value);
}
}
return this;
}
@Override
public AffectedCallStructure withStopPlaceName(Collection values) {
if (values!= null) {
getStopPlaceName().addAll(values);
}
return this;
}
@Override
public AffectedCallStructure withAffectedModes(AffectedModesStructure value) {
setAffectedModes(value);
return this;
}
@Override
public AffectedCallStructure withPlaceRef(ZoneRefStructure value) {
setPlaceRef(value);
return this;
}
@Override
public AffectedCallStructure withPlaceName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getPlaceName().add(value);
}
}
return this;
}
@Override
public AffectedCallStructure withPlaceName(Collection values) {
if (values!= null) {
getPlaceName().addAll(values);
}
return this;
}
@Override
public AffectedCallStructure withAccessibilityAssessment(AccessibilityAssessmentStructure value) {
setAccessibilityAssessment(value);
return this;
}
@Override
public AffectedCallStructure withStopCondition(RoutePointTypeEnumeration... values) {
if (values!= null) {
for (RoutePointTypeEnumeration value: values) {
getStopCondition().add(value);
}
}
return this;
}
@Override
public AffectedCallStructure withStopCondition(Collection values) {
if (values!= null) {
getStopCondition().addAll(values);
}
return this;
}
@Override
public AffectedCallStructure withConnectionLinks(AffectedStopPointStructure.ConnectionLinks value) {
setConnectionLinks(value);
return this;
}
@Override
public AffectedCallStructure withLines(AffectedStopPointStructure.Lines value) {
setLines(value);
return this;
}
@Override
public AffectedCallStructure 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 = {
"affectedInterchange"
})
public static class AffectedInterchanges {
@XmlElement(name = "AffectedInterchange")
protected List affectedInterchange;
/**
* Gets the value of the affectedInterchange 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 affectedInterchange property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedInterchange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedInterchangeStructure }
*
*
*
* @return
* The value of the affectedInterchange property.
*/
public List getAffectedInterchange() {
if (affectedInterchange == null) {
affectedInterchange = new ArrayList<>();
}
return this.affectedInterchange;
}
public AffectedCallStructure.AffectedInterchanges withAffectedInterchange(AffectedInterchangeStructure... values) {
if (values!= null) {
for (AffectedInterchangeStructure value: values) {
getAffectedInterchange().add(value);
}
}
return this;
}
public AffectedCallStructure.AffectedInterchanges withAffectedInterchange(Collection values) {
if (values!= null) {
getAffectedInterchange().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);
}
}
}