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

de.vdv.ojp20.siri.DatedJourneyPartInfoStructure 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 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.NormalizedStringAdapter;
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;


/**
 * 

Java class for DatedJourneyPartInfoStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DatedJourneyPartInfoStructure", propOrder = { "journeyPartRef", "trainNumberRef", "operatorRef", "compoundTrainRef", "fromStopPointRef", "toStopPointRef", "startTime", "endTime" }) public class DatedJourneyPartInfoStructure { @XmlElement(name = "JourneyPartRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String journeyPartRef; @XmlElement(name = "TrainNumberRef") protected TrainNumberRefStructure trainNumberRef; @XmlElement(name = "OperatorRef") protected OperatorRefStructure operatorRef; @XmlElement(name = "CompoundTrainRef") protected CompoundTrainRefStructure compoundTrainRef; @XmlElement(name = "FromStopPointRef") protected StopPointRefStructure fromStopPointRef; @XmlElement(name = "ToStopPointRef") protected StopPointRefStructure toStopPointRef; @XmlElement(name = "StartTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime startTime; @XmlElement(name = "EndTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime endTime; /** * Gets the value of the journeyPartRef property. * * @return * possible object is * {@link String } * */ public String getJourneyPartRef() { return journeyPartRef; } /** * Sets the value of the journeyPartRef property. * * @param value * allowed object is * {@link String } * */ public void setJourneyPartRef(String value) { this.journeyPartRef = value; } /** * Gets the value of the trainNumberRef property. * * @return * possible object is * {@link TrainNumberRefStructure } * */ public TrainNumberRefStructure getTrainNumberRef() { return trainNumberRef; } /** * Sets the value of the trainNumberRef property. * * @param value * allowed object is * {@link TrainNumberRefStructure } * */ public void setTrainNumberRef(TrainNumberRefStructure value) { this.trainNumberRef = 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 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 fromStopPointRef property. * * @return * possible object is * {@link StopPointRefStructure } * */ public StopPointRefStructure getFromStopPointRef() { return fromStopPointRef; } /** * Sets the value of the fromStopPointRef property. * * @param value * allowed object is * {@link StopPointRefStructure } * */ public void setFromStopPointRef(StopPointRefStructure value) { this.fromStopPointRef = value; } /** * Gets the value of the toStopPointRef property. * * @return * possible object is * {@link StopPointRefStructure } * */ public StopPointRefStructure getToStopPointRef() { return toStopPointRef; } /** * Sets the value of the toStopPointRef property. * * @param value * allowed object is * {@link StopPointRefStructure } * */ public void setToStopPointRef(StopPointRefStructure value) { this.toStopPointRef = value; } /** * Gets the value of the startTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getStartTime() { return startTime; } /** * Sets the value of the startTime property. * * @param value * allowed object is * {@link String } * */ public void setStartTime(XmlDateTime value) { this.startTime = value; } /** * Gets the value of the endTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getEndTime() { return endTime; } /** * Sets the value of the endTime property. * * @param value * allowed object is * {@link String } * */ public void setEndTime(XmlDateTime value) { this.endTime = value; } public DatedJourneyPartInfoStructure withJourneyPartRef(String value) { setJourneyPartRef(value); return this; } public DatedJourneyPartInfoStructure withTrainNumberRef(TrainNumberRefStructure value) { setTrainNumberRef(value); return this; } public DatedJourneyPartInfoStructure withOperatorRef(OperatorRefStructure value) { setOperatorRef(value); return this; } public DatedJourneyPartInfoStructure withCompoundTrainRef(CompoundTrainRefStructure value) { setCompoundTrainRef(value); return this; } public DatedJourneyPartInfoStructure withFromStopPointRef(StopPointRefStructure value) { setFromStopPointRef(value); return this; } public DatedJourneyPartInfoStructure withToStopPointRef(StopPointRefStructure value) { setToStopPointRef(value); return this; } public DatedJourneyPartInfoStructure withStartTime(XmlDateTime value) { setStartTime(value); return this; } public DatedJourneyPartInfoStructure withEndTime(XmlDateTime value) { setEndTime(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