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

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

The newest version!
//
// 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.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.XmlDateTimeAdapter;
import uk.org.ifopt.acsb.AccessibilityAssessmentStructure;


/**
 * 

Java class for AffectedVehicleJourneyStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *           
 *           
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AffectedVehicleJourneyStructure", propOrder = { "framedVehicleJourneyRef", "vehicleJourneyRef", "datedVehicleJourneyRef", "journeyName", "operator", "lineRef", "publishedLineName", "directionRef", "blockRef", "trainNumbers", "journeyParts", "origins", "destinations", "route", "originAimedDepartureTime", "destinationAimedArrivalTime", "originDisplayAtDestination", "destinationDisplayAtOrigin", "accessibilityAssessment", "journeyCondition", "calls", "facilities", "extensions" }) public class AffectedVehicleJourneyStructure { @XmlElement(name = "FramedVehicleJourneyRef") protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef; @XmlElement(name = "VehicleJourneyRef") protected List vehicleJourneyRef; @XmlElement(name = "DatedVehicleJourneyRef") protected List datedVehicleJourneyRef; @XmlElement(name = "JourneyName") protected List journeyName; @XmlElement(name = "Operator") protected AffectedOperatorStructure operator; @XmlElement(name = "LineRef") protected LineRefStructure lineRef; @XmlElement(name = "PublishedLineName") protected List publishedLineName; @XmlElement(name = "DirectionRef") protected DirectionRefStructure directionRef; @XmlElement(name = "BlockRef") protected BlockRefStructure blockRef; @XmlElement(name = "TrainNumbers") protected AffectedVehicleJourneyStructure.TrainNumbers trainNumbers; @XmlElement(name = "JourneyParts") protected AffectedVehicleJourneyStructure.JourneyParts journeyParts; @XmlElement(name = "Origins") protected List origins; @XmlElement(name = "Destinations") protected List destinations; @XmlElement(name = "Route") protected List route; @XmlElement(name = "OriginAimedDepartureTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime originAimedDepartureTime; @XmlElement(name = "DestinationAimedArrivalTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime destinationAimedArrivalTime; @XmlElement(name = "OriginDisplayAtDestination") protected List originDisplayAtDestination; @XmlElement(name = "DestinationDisplayAtOrigin") protected List destinationDisplayAtOrigin; @XmlElement(name = "AccessibilityAssessment") protected AccessibilityAssessmentStructure accessibilityAssessment; @XmlElement(name = "JourneyCondition") @XmlSchemaType(name = "NMTOKEN") protected List journeyCondition; @XmlElement(name = "Calls") protected AffectedVehicleJourneyStructure.Calls calls; @XmlElement(name = "Facilities") protected AffectedVehicleJourneyStructure.Facilities facilities; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * 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. * *

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 vehicleJourneyRef property.

* *

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

*
     * getVehicleJourneyRef().add(newItem);
     * 
* * *

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

* * * @return * The value of the vehicleJourneyRef property. */ public List getVehicleJourneyRef() { if (vehicleJourneyRef == null) { vehicleJourneyRef = new ArrayList<>(); } return this.vehicleJourneyRef; } /** * Gets the value of the datedVehicleJourneyRef 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 datedVehicleJourneyRef property.

* *

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

*
     * getDatedVehicleJourneyRef().add(newItem);
     * 
* * *

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

* * * @return * The value of the datedVehicleJourneyRef property. */ public List getDatedVehicleJourneyRef() { if (datedVehicleJourneyRef == null) { datedVehicleJourneyRef = new ArrayList<>(); } return this.datedVehicleJourneyRef; } /** * Gets the value of the journeyName 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 journeyName property.

* *

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

*
     * getJourneyName().add(newItem);
     * 
* * *

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

* * * @return * The value of the journeyName property. */ public List getJourneyName() { if (journeyName == null) { journeyName = new ArrayList<>(); } return this.journeyName; } /** * Gets the value of the operator property. * * @return * possible object is * {@link AffectedOperatorStructure } * */ public AffectedOperatorStructure getOperator() { return operator; } /** * Sets the value of the operator property. * * @param value * allowed object is * {@link AffectedOperatorStructure } * */ public void setOperator(AffectedOperatorStructure value) { this.operator = value; } /** * Gets the value of the lineRef property. * * @return * possible object is * {@link LineRefStructure } * */ public LineRefStructure getLineRef() { return lineRef; } /** * Sets the value of the lineRef property. * * @param value * allowed object is * {@link LineRefStructure } * */ public void setLineRef(LineRefStructure value) { this.lineRef = value; } /** * Gets the value of the 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 directionRef property. * * @return * possible object is * {@link DirectionRefStructure } * */ public DirectionRefStructure getDirectionRef() { return directionRef; } /** * Sets the value of the directionRef property. * * @param value * allowed object is * {@link DirectionRefStructure } * */ public void setDirectionRef(DirectionRefStructure value) { this.directionRef = value; } /** * Gets the value of the 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 trainNumbers property. * * @return * possible object is * {@link AffectedVehicleJourneyStructure.TrainNumbers } * */ public AffectedVehicleJourneyStructure.TrainNumbers getTrainNumbers() { return trainNumbers; } /** * Sets the value of the trainNumbers property. * * @param value * allowed object is * {@link AffectedVehicleJourneyStructure.TrainNumbers } * */ public void setTrainNumbers(AffectedVehicleJourneyStructure.TrainNumbers value) { this.trainNumbers = value; } /** * Gets the value of the journeyParts property. * * @return * possible object is * {@link AffectedVehicleJourneyStructure.JourneyParts } * */ public AffectedVehicleJourneyStructure.JourneyParts getJourneyParts() { return journeyParts; } /** * Sets the value of the journeyParts property. * * @param value * allowed object is * {@link AffectedVehicleJourneyStructure.JourneyParts } * */ public void setJourneyParts(AffectedVehicleJourneyStructure.JourneyParts value) { this.journeyParts = value; } /** * Gets the value of the origins 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 origins property.

* *

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

*
     * getOrigins().add(newItem);
     * 
* * *

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

* * * @return * The value of the origins property. */ public List getOrigins() { if (origins == null) { origins = new ArrayList<>(); } return this.origins; } /** * Gets the value of the destinations 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 destinations property.

* *

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

*
     * getDestinations().add(newItem);
     * 
* * *

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

* * * @return * The value of the destinations property. */ public List getDestinations() { if (destinations == null) { destinations = new ArrayList<>(); } return this.destinations; } /** * Gets the value of the route 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 route property.

* *

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

*
     * getRoute().add(newItem);
     * 
* * *

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

* * * @return * The value of the route property. */ public List getRoute() { if (route == null) { route = new ArrayList<>(); } return this.route; } /** * Gets the value of the originAimedDepartureTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getOriginAimedDepartureTime() { return originAimedDepartureTime; } /** * Sets the value of the originAimedDepartureTime property. * * @param value * allowed object is * {@link String } * */ public void setOriginAimedDepartureTime(XmlDateTime value) { this.originAimedDepartureTime = value; } /** * Gets the value of the destinationAimedArrivalTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getDestinationAimedArrivalTime() { return destinationAimedArrivalTime; } /** * Sets the value of the destinationAimedArrivalTime property. * * @param value * allowed object is * {@link String } * */ public void setDestinationAimedArrivalTime(XmlDateTime value) { this.destinationAimedArrivalTime = value; } /** * Gets the value of the 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 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 accessibilityAssessment property. * * @return * possible object is * {@link AccessibilityAssessmentStructure } * */ public AccessibilityAssessmentStructure getAccessibilityAssessment() { return accessibilityAssessment; } /** * Sets the value of the accessibilityAssessment property. * * @param value * allowed object is * {@link AccessibilityAssessmentStructure } * */ public void setAccessibilityAssessment(AccessibilityAssessmentStructure value) { this.accessibilityAssessment = value; } /** * Gets the value of the journeyCondition 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 journeyCondition property.

* *

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

*
     * getJourneyCondition().add(newItem);
     * 
* * *

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

* * * @return * The value of the journeyCondition property. */ public List getJourneyCondition() { if (journeyCondition == null) { journeyCondition = new ArrayList<>(); } return this.journeyCondition; } /** * Gets the value of the calls property. * * @return * possible object is * {@link AffectedVehicleJourneyStructure.Calls } * */ public AffectedVehicleJourneyStructure.Calls getCalls() { return calls; } /** * Sets the value of the calls property. * * @param value * allowed object is * {@link AffectedVehicleJourneyStructure.Calls } * */ public void setCalls(AffectedVehicleJourneyStructure.Calls value) { this.calls = value; } /** * Gets the value of the facilities property. * * @return * possible object is * {@link AffectedVehicleJourneyStructure.Facilities } * */ public AffectedVehicleJourneyStructure.Facilities getFacilities() { return facilities; } /** * Sets the value of the facilities property. * * @param value * allowed object is * {@link AffectedVehicleJourneyStructure.Facilities } * */ public void setFacilities(AffectedVehicleJourneyStructure.Facilities value) { this.facilities = 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 AffectedVehicleJourneyStructure withFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) { setFramedVehicleJourneyRef(value); return this; } public AffectedVehicleJourneyStructure withVehicleJourneyRef(VehicleJourneyRefStructure... values) { if (values!= null) { for (VehicleJourneyRefStructure value: values) { getVehicleJourneyRef().add(value); } } return this; } public AffectedVehicleJourneyStructure withVehicleJourneyRef(Collection values) { if (values!= null) { getVehicleJourneyRef().addAll(values); } return this; } public AffectedVehicleJourneyStructure withDatedVehicleJourneyRef(DatedVehicleJourneyRefStructure... values) { if (values!= null) { for (DatedVehicleJourneyRefStructure value: values) { getDatedVehicleJourneyRef().add(value); } } return this; } public AffectedVehicleJourneyStructure withDatedVehicleJourneyRef(Collection values) { if (values!= null) { getDatedVehicleJourneyRef().addAll(values); } return this; } public AffectedVehicleJourneyStructure withJourneyName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getJourneyName().add(value); } } return this; } public AffectedVehicleJourneyStructure withJourneyName(Collection values) { if (values!= null) { getJourneyName().addAll(values); } return this; } public AffectedVehicleJourneyStructure withOperator(AffectedOperatorStructure value) { setOperator(value); return this; } public AffectedVehicleJourneyStructure withLineRef(LineRefStructure value) { setLineRef(value); return this; } public AffectedVehicleJourneyStructure withPublishedLineName(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getPublishedLineName().add(value); } } return this; } public AffectedVehicleJourneyStructure withPublishedLineName(Collection values) { if (values!= null) { getPublishedLineName().addAll(values); } return this; } public AffectedVehicleJourneyStructure withDirectionRef(DirectionRefStructure value) { setDirectionRef(value); return this; } public AffectedVehicleJourneyStructure withBlockRef(BlockRefStructure value) { setBlockRef(value); return this; } public AffectedVehicleJourneyStructure withTrainNumbers(AffectedVehicleJourneyStructure.TrainNumbers value) { setTrainNumbers(value); return this; } public AffectedVehicleJourneyStructure withJourneyParts(AffectedVehicleJourneyStructure.JourneyParts value) { setJourneyParts(value); return this; } public AffectedVehicleJourneyStructure withOrigins(AffectedStopPointStructure... values) { if (values!= null) { for (AffectedStopPointStructure value: values) { getOrigins().add(value); } } return this; } public AffectedVehicleJourneyStructure withOrigins(Collection values) { if (values!= null) { getOrigins().addAll(values); } return this; } public AffectedVehicleJourneyStructure withDestinations(AffectedStopPointStructure... values) { if (values!= null) { for (AffectedStopPointStructure value: values) { getDestinations().add(value); } } return this; } public AffectedVehicleJourneyStructure withDestinations(Collection values) { if (values!= null) { getDestinations().addAll(values); } return this; } public AffectedVehicleJourneyStructure withRoute(AffectedRouteStructure... values) { if (values!= null) { for (AffectedRouteStructure value: values) { getRoute().add(value); } } return this; } public AffectedVehicleJourneyStructure withRoute(Collection values) { if (values!= null) { getRoute().addAll(values); } return this; } public AffectedVehicleJourneyStructure withOriginAimedDepartureTime(XmlDateTime value) { setOriginAimedDepartureTime(value); return this; } public AffectedVehicleJourneyStructure withDestinationAimedArrivalTime(XmlDateTime value) { setDestinationAimedArrivalTime(value); return this; } public AffectedVehicleJourneyStructure withOriginDisplayAtDestination(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getOriginDisplayAtDestination().add(value); } } return this; } public AffectedVehicleJourneyStructure withOriginDisplayAtDestination(Collection values) { if (values!= null) { getOriginDisplayAtDestination().addAll(values); } return this; } public AffectedVehicleJourneyStructure withDestinationDisplayAtOrigin(NaturalLanguagePlaceNameStructure... values) { if (values!= null) { for (NaturalLanguagePlaceNameStructure value: values) { getDestinationDisplayAtOrigin().add(value); } } return this; } public AffectedVehicleJourneyStructure withDestinationDisplayAtOrigin(Collection values) { if (values!= null) { getDestinationDisplayAtOrigin().addAll(values); } return this; } public AffectedVehicleJourneyStructure withAccessibilityAssessment(AccessibilityAssessmentStructure value) { setAccessibilityAssessment(value); return this; } public AffectedVehicleJourneyStructure withJourneyCondition(ServiceConditionEnumeration... values) { if (values!= null) { for (ServiceConditionEnumeration value: values) { getJourneyCondition().add(value); } } return this; } public AffectedVehicleJourneyStructure withJourneyCondition(Collection values) { if (values!= null) { getJourneyCondition().addAll(values); } return this; } public AffectedVehicleJourneyStructure withCalls(AffectedVehicleJourneyStructure.Calls value) { setCalls(value); return this; } public AffectedVehicleJourneyStructure withFacilities(AffectedVehicleJourneyStructure.Facilities value) { setFacilities(value); return this; } public AffectedVehicleJourneyStructure 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 = { "call" }) public static class Calls { @XmlElement(name = "Call", required = true) protected List call; /** * Gets the value of the call 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 call property.

* *

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

*
         * getCall().add(newItem);
         * 
* * *

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

* * * @return * The value of the call property. */ public List getCall() { if (call == null) { call = new ArrayList<>(); } return this.call; } public AffectedVehicleJourneyStructure.Calls withCall(AffectedCallStructure... values) { if (values!= null) { for (AffectedCallStructure value: values) { getCall().add(value); } } return this; } public AffectedVehicleJourneyStructure.Calls withCall(Collection values) { if (values!= null) { getCall().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 = { "affectedFacility" }) public static class Facilities { @XmlElement(name = "AffectedFacility", required = true) protected List affectedFacility; /** * Gets the value of the affectedFacility 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 affectedFacility property.

* *

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

*
         * getAffectedFacility().add(newItem);
         * 
* * *

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

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

Java class for anonymous complex type

. * *

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

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "journeyPartInfo" }) public static class JourneyParts { @XmlElement(name = "JourneyPartInfo", required = true) protected List journeyPartInfo; /** * Gets the value of the journeyPartInfo property. * *

This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the journeyPartInfo property.

* *

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

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

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

* * * @return * The value of the journeyPartInfo property. */ public List getJourneyPartInfo() { if (journeyPartInfo == null) { journeyPartInfo = new ArrayList<>(); } return this.journeyPartInfo; } public AffectedVehicleJourneyStructure.JourneyParts withJourneyPartInfo(JourneyPartInfoStructure... values) { if (values!= null) { for (JourneyPartInfoStructure value: values) { getJourneyPartInfo().add(value); } } return this; } public AffectedVehicleJourneyStructure.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 AffectedVehicleJourneyStructure.TrainNumbers withTrainNumberRef(TrainNumberRefStructure... values) { if (values!= null) { for (TrainNumberRefStructure value: values) { getTrainNumberRef().add(value); } } return this; } public AffectedVehicleJourneyStructure.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); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy