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

uk.org.siri.siri21.RemovedDatedVehicleJourneyStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
import java.util.ArrayList;
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.XmlType;


/**
 * Type for previously planned VEHICLE JOURNEY that is removed from the data producer when using incremental updates. (since SIRI 2.1)
 * 
 * 

Java class for RemovedDatedVehicleJourneyStructure complex type. * *

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

 * <complexType name="RemovedDatedVehicleJourneyStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="FramedVehicleJourneyRef" type="{http://www.siri.org.uk/siri}FramedVehicleJourneyRefStructure"/>
 *         <element name="DatedVehicleJourneyIndirectRef" type="{http://www.siri.org.uk/siri}DatedVehicleJourneyIndirectRefStructure" minOccurs="0"/>
 *         <element name="TrainNumbers" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element ref="{http://www.siri.org.uk/siri}ReasonForRemoval"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RemovedDatedVehicleJourneyStructure", propOrder = { "framedVehicleJourneyRef", "datedVehicleJourneyIndirectRef", "trainNumbers", "reasonForRemoval" }) public class RemovedDatedVehicleJourneyStructure implements Serializable { @XmlElement(name = "FramedVehicleJourneyRef", required = true) protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef; @XmlElement(name = "DatedVehicleJourneyIndirectRef") protected DatedVehicleJourneyIndirectRefStructure datedVehicleJourneyIndirectRef; @XmlElement(name = "TrainNumbers") protected RemovedDatedVehicleJourneyStructure.TrainNumbers trainNumbers; @XmlElement(name = "ReasonForRemoval", required = true) protected NaturalLanguageStringStructure reasonForRemoval; /** * 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 datedVehicleJourneyIndirectRef property. * * @return * possible object is * {@link DatedVehicleJourneyIndirectRefStructure } * */ public DatedVehicleJourneyIndirectRefStructure getDatedVehicleJourneyIndirectRef() { return datedVehicleJourneyIndirectRef; } /** * Sets the value of the datedVehicleJourneyIndirectRef property. * * @param value * allowed object is * {@link DatedVehicleJourneyIndirectRefStructure } * */ public void setDatedVehicleJourneyIndirectRef(DatedVehicleJourneyIndirectRefStructure value) { this.datedVehicleJourneyIndirectRef = value; } /** * Gets the value of the trainNumbers property. * * @return * possible object is * {@link RemovedDatedVehicleJourneyStructure.TrainNumbers } * */ public RemovedDatedVehicleJourneyStructure.TrainNumbers getTrainNumbers() { return trainNumbers; } /** * Sets the value of the trainNumbers property. * * @param value * allowed object is * {@link RemovedDatedVehicleJourneyStructure.TrainNumbers } * */ public void setTrainNumbers(RemovedDatedVehicleJourneyStructure.TrainNumbers value) { this.trainNumbers = value; } /** * Gets the value of the reasonForRemoval property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getReasonForRemoval() { return reasonForRemoval; } /** * Sets the value of the reasonForRemoval property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setReasonForRemoval(NaturalLanguageStringStructure value) { this.reasonForRemoval = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "trainNumberReves" }) public static class TrainNumbers implements Serializable { @XmlElement(name = "TrainNumberRef", required = true) protected List trainNumberReves; /** * Gets the value of the trainNumberReves 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 Jakarta XML Binding object. * This is why there is not a set method for the trainNumberReves property. * *

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

         *    getTrainNumberReves().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TrainNumberRefStructure } * * */ public List getTrainNumberReves() { if (trainNumberReves == null) { trainNumberReves = new ArrayList(); } return this.trainNumberReves; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy