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

de.vdv.ojp20.siri.FacilityLocationStructure 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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import uk.org.ifopt.ifopt.StopPlaceComponentRefStructure;
import uk.org.ifopt.ifopt.StopPlaceRefStructure;


/**
 * 

Java class for FacilityLocationStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FacilityLocationStructure", propOrder = { "lineRef", "stopPointRef", "vehicleRef", "compoundTrainRef", "trainRef", "trainInCompoundTrainRef", "trainElementRef", "trainComponentRef", "entranceToVehicleRef", "datedVehicleJourneyRef", "connectionLinkRef", "interchangeRef", "stopPlaceRef", "stopPlaceComponentId", "operatorRef", "productCategoryRef", "serviceFeatureRef", "vehicleFeatureRef" }) public class FacilityLocationStructure { @XmlElement(name = "LineRef") protected LineRefStructure lineRef; @XmlElement(name = "StopPointRef") protected StopPointRefStructure stopPointRef; @XmlElement(name = "VehicleRef") protected VehicleRefStructure vehicleRef; @XmlElement(name = "CompoundTrainRef") protected CompoundTrainRefStructure compoundTrainRef; @XmlElement(name = "TrainRef") protected TrainRefStructure trainRef; @XmlElement(name = "TrainInCompoundTrainRef") protected TrainInCompoundTrainRefStructure trainInCompoundTrainRef; @XmlElement(name = "TrainElementRef") protected TrainElementRefStructure trainElementRef; @XmlElement(name = "TrainComponentRef") protected TrainComponentRefStructure trainComponentRef; @XmlElement(name = "EntranceToVehicleRef") protected EntranceToVehicleRefStructure entranceToVehicleRef; @XmlElement(name = "DatedVehicleJourneyRef") protected DatedVehicleJourneyRefStructure datedVehicleJourneyRef; @XmlElement(name = "ConnectionLinkRef") protected ConnectionLinkRefStructure connectionLinkRef; @XmlElement(name = "InterchangeRef") protected InterchangeRefStructure interchangeRef; @XmlElement(name = "StopPlaceRef") protected StopPlaceRefStructure stopPlaceRef; @XmlElement(name = "StopPlaceComponentId") protected StopPlaceComponentRefStructure stopPlaceComponentId; @XmlElement(name = "OperatorRef") protected OperatorRefStructure operatorRef; @XmlElement(name = "ProductCategoryRef") protected ProductCategoryRefStructure productCategoryRef; @XmlElement(name = "ServiceFeatureRef") protected List serviceFeatureRef; @XmlElement(name = "VehicleFeatureRef") protected List vehicleFeatureRef; /** * 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 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 vehicleRef property. * * @return * possible object is * {@link VehicleRefStructure } * */ public VehicleRefStructure getVehicleRef() { return vehicleRef; } /** * Sets the value of the vehicleRef property. * * @param value * allowed object is * {@link VehicleRefStructure } * */ public void setVehicleRef(VehicleRefStructure value) { this.vehicleRef = value; } /** * Gets the value of the compoundTrainRef property. * * @return * possible object is * {@link CompoundTrainRefStructure } * */ public CompoundTrainRefStructure getCompoundTrainRef() { return compoundTrainRef; } /** * Sets the value of the compoundTrainRef property. * * @param value * allowed object is * {@link CompoundTrainRefStructure } * */ public void setCompoundTrainRef(CompoundTrainRefStructure value) { this.compoundTrainRef = value; } /** * Gets the value of the trainRef property. * * @return * possible object is * {@link TrainRefStructure } * */ public TrainRefStructure getTrainRef() { return trainRef; } /** * Sets the value of the trainRef property. * * @param value * allowed object is * {@link TrainRefStructure } * */ public void setTrainRef(TrainRefStructure value) { this.trainRef = value; } /** * Gets the value of the trainInCompoundTrainRef property. * * @return * possible object is * {@link TrainInCompoundTrainRefStructure } * */ public TrainInCompoundTrainRefStructure getTrainInCompoundTrainRef() { return trainInCompoundTrainRef; } /** * Sets the value of the trainInCompoundTrainRef property. * * @param value * allowed object is * {@link TrainInCompoundTrainRefStructure } * */ public void setTrainInCompoundTrainRef(TrainInCompoundTrainRefStructure value) { this.trainInCompoundTrainRef = value; } /** * Gets the value of the trainElementRef property. * * @return * possible object is * {@link TrainElementRefStructure } * */ public TrainElementRefStructure getTrainElementRef() { return trainElementRef; } /** * Sets the value of the trainElementRef property. * * @param value * allowed object is * {@link TrainElementRefStructure } * */ public void setTrainElementRef(TrainElementRefStructure value) { this.trainElementRef = value; } /** * Gets the value of the trainComponentRef property. * * @return * possible object is * {@link TrainComponentRefStructure } * */ public TrainComponentRefStructure getTrainComponentRef() { return trainComponentRef; } /** * Sets the value of the trainComponentRef property. * * @param value * allowed object is * {@link TrainComponentRefStructure } * */ public void setTrainComponentRef(TrainComponentRefStructure value) { this.trainComponentRef = value; } /** * Gets the value of the entranceToVehicleRef property. * * @return * possible object is * {@link EntranceToVehicleRefStructure } * */ public EntranceToVehicleRefStructure getEntranceToVehicleRef() { return entranceToVehicleRef; } /** * Sets the value of the entranceToVehicleRef property. * * @param value * allowed object is * {@link EntranceToVehicleRefStructure } * */ public void setEntranceToVehicleRef(EntranceToVehicleRefStructure value) { this.entranceToVehicleRef = value; } /** * Gets the value of the datedVehicleJourneyRef property. * * @return * possible object is * {@link DatedVehicleJourneyRefStructure } * */ public DatedVehicleJourneyRefStructure getDatedVehicleJourneyRef() { return datedVehicleJourneyRef; } /** * Sets the value of the datedVehicleJourneyRef property. * * @param value * allowed object is * {@link DatedVehicleJourneyRefStructure } * */ public void setDatedVehicleJourneyRef(DatedVehicleJourneyRefStructure value) { this.datedVehicleJourneyRef = value; } /** * Gets the value of the connectionLinkRef property. * * @return * possible object is * {@link ConnectionLinkRefStructure } * */ public ConnectionLinkRefStructure getConnectionLinkRef() { return connectionLinkRef; } /** * Sets the value of the connectionLinkRef property. * * @param value * allowed object is * {@link ConnectionLinkRefStructure } * */ public void setConnectionLinkRef(ConnectionLinkRefStructure value) { this.connectionLinkRef = value; } /** * Gets the value of the interchangeRef property. * * @return * possible object is * {@link InterchangeRefStructure } * */ public InterchangeRefStructure getInterchangeRef() { return interchangeRef; } /** * Sets the value of the interchangeRef property. * * @param value * allowed object is * {@link InterchangeRefStructure } * */ public void setInterchangeRef(InterchangeRefStructure value) { this.interchangeRef = value; } /** * Gets the value of the stopPlaceRef property. * * @return * possible object is * {@link StopPlaceRefStructure } * */ public StopPlaceRefStructure getStopPlaceRef() { return stopPlaceRef; } /** * Sets the value of the stopPlaceRef property. * * @param value * allowed object is * {@link StopPlaceRefStructure } * */ public void setStopPlaceRef(StopPlaceRefStructure value) { this.stopPlaceRef = value; } /** * Gets the value of the stopPlaceComponentId property. * * @return * possible object is * {@link StopPlaceComponentRefStructure } * */ public StopPlaceComponentRefStructure getStopPlaceComponentId() { return stopPlaceComponentId; } /** * Sets the value of the stopPlaceComponentId property. * * @param value * allowed object is * {@link StopPlaceComponentRefStructure } * */ public void setStopPlaceComponentId(StopPlaceComponentRefStructure value) { this.stopPlaceComponentId = value; } /** * Gets the value of the operatorRef property. * * @return * possible object is * {@link OperatorRefStructure } * */ public OperatorRefStructure getOperatorRef() { return operatorRef; } /** * Sets the value of the operatorRef property. * * @param value * allowed object is * {@link OperatorRefStructure } * */ public void setOperatorRef(OperatorRefStructure value) { this.operatorRef = value; } /** * Gets the value of the productCategoryRef property. * * @return * possible object is * {@link ProductCategoryRefStructure } * */ public ProductCategoryRefStructure getProductCategoryRef() { return productCategoryRef; } /** * Sets the value of the productCategoryRef property. * * @param value * allowed object is * {@link ProductCategoryRefStructure } * */ public void setProductCategoryRef(ProductCategoryRefStructure value) { this.productCategoryRef = value; } /** * Gets the value of the serviceFeatureRef property. * *

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

* *

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

*
     * getServiceFeatureRef().add(newItem);
     * 
* * *

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

* * * @return * The value of the serviceFeatureRef property. */ public List getServiceFeatureRef() { if (serviceFeatureRef == null) { serviceFeatureRef = new ArrayList<>(); } return this.serviceFeatureRef; } /** * Gets the value of the vehicleFeatureRef property. * *

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

* *

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

*
     * getVehicleFeatureRef().add(newItem);
     * 
* * *

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

* * * @return * The value of the vehicleFeatureRef property. */ public List getVehicleFeatureRef() { if (vehicleFeatureRef == null) { vehicleFeatureRef = new ArrayList<>(); } return this.vehicleFeatureRef; } public FacilityLocationStructure withLineRef(LineRefStructure value) { setLineRef(value); return this; } public FacilityLocationStructure withStopPointRef(StopPointRefStructure value) { setStopPointRef(value); return this; } public FacilityLocationStructure withVehicleRef(VehicleRefStructure value) { setVehicleRef(value); return this; } public FacilityLocationStructure withCompoundTrainRef(CompoundTrainRefStructure value) { setCompoundTrainRef(value); return this; } public FacilityLocationStructure withTrainRef(TrainRefStructure value) { setTrainRef(value); return this; } public FacilityLocationStructure withTrainInCompoundTrainRef(TrainInCompoundTrainRefStructure value) { setTrainInCompoundTrainRef(value); return this; } public FacilityLocationStructure withTrainElementRef(TrainElementRefStructure value) { setTrainElementRef(value); return this; } public FacilityLocationStructure withTrainComponentRef(TrainComponentRefStructure value) { setTrainComponentRef(value); return this; } public FacilityLocationStructure withEntranceToVehicleRef(EntranceToVehicleRefStructure value) { setEntranceToVehicleRef(value); return this; } public FacilityLocationStructure withDatedVehicleJourneyRef(DatedVehicleJourneyRefStructure value) { setDatedVehicleJourneyRef(value); return this; } public FacilityLocationStructure withConnectionLinkRef(ConnectionLinkRefStructure value) { setConnectionLinkRef(value); return this; } public FacilityLocationStructure withInterchangeRef(InterchangeRefStructure value) { setInterchangeRef(value); return this; } public FacilityLocationStructure withStopPlaceRef(StopPlaceRefStructure value) { setStopPlaceRef(value); return this; } public FacilityLocationStructure withStopPlaceComponentId(StopPlaceComponentRefStructure value) { setStopPlaceComponentId(value); return this; } public FacilityLocationStructure withOperatorRef(OperatorRefStructure value) { setOperatorRef(value); return this; } public FacilityLocationStructure withProductCategoryRef(ProductCategoryRefStructure value) { setProductCategoryRef(value); return this; } public FacilityLocationStructure withServiceFeatureRef(ServiceFeatureRefStructure... values) { if (values!= null) { for (ServiceFeatureRefStructure value: values) { getServiceFeatureRef().add(value); } } return this; } public FacilityLocationStructure withServiceFeatureRef(Collection values) { if (values!= null) { getServiceFeatureRef().addAll(values); } return this; } public FacilityLocationStructure withVehicleFeatureRef(VehicleFeatureRefStructure... values) { if (values!= null) { for (VehicleFeatureRefStructure value: values) { getVehicleFeatureRef().add(value); } } return this; } public FacilityLocationStructure withVehicleFeatureRef(Collection values) { if (values!= null) { getVehicleFeatureRef().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