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

de.vdv.ojp20.TripLocationStructure 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;

import de.vdv.ojp20.siri.DirectionRefStructure;
import de.vdv.ojp20.siri.LineRefStructure;
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;


/**
 * A trip location represents the current logical position of a journey service. It can be used similarly to a place e.g., for starting a new trip request from within this service. A trip location does not(!) describe the relative position of a traveller within a vehicle, e.g., the seat.
 * 
 * 

Java class for TripLocationStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TripLocationStructure", propOrder = { "operatingDayRef", "journeyRef", "lineRef", "directionRef" }) public class TripLocationStructure { /** * Reference to an Operating Day * */ @XmlElement(name = "OperatingDayRef", required = true) protected OperatingDayRefStructure operatingDayRef; /** * Reference to a Journey * */ @XmlElement(name = "JourneyRef", required = true) protected JourneyRefStructure journeyRef; @XmlElement(name = "LineRef", namespace = "http://www.siri.org.uk/siri", required = true) protected LineRefStructure lineRef; @XmlElement(name = "DirectionRef", namespace = "http://www.siri.org.uk/siri", required = true) protected DirectionRefStructure directionRef; /** * Reference to an Operating Day * * @return * possible object is * {@link OperatingDayRefStructure } * */ public OperatingDayRefStructure getOperatingDayRef() { return operatingDayRef; } /** * Sets the value of the operatingDayRef property. * * @param value * allowed object is * {@link OperatingDayRefStructure } * * @see #getOperatingDayRef() */ public void setOperatingDayRef(OperatingDayRefStructure value) { this.operatingDayRef = value; } /** * Reference to a Journey * * @return * possible object is * {@link JourneyRefStructure } * */ public JourneyRefStructure getJourneyRef() { return journeyRef; } /** * Sets the value of the journeyRef property. * * @param value * allowed object is * {@link JourneyRefStructure } * * @see #getJourneyRef() */ public void setJourneyRef(JourneyRefStructure value) { this.journeyRef = 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 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; } public TripLocationStructure withOperatingDayRef(OperatingDayRefStructure value) { setOperatingDayRef(value); return this; } public TripLocationStructure withJourneyRef(JourneyRefStructure value) { setJourneyRef(value); return this; } public TripLocationStructure withLineRef(LineRefStructure value) { setLineRef(value); return this; } public TripLocationStructure withDirectionRef(DirectionRefStructure value) { setDirectionRef(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); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy