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

de.vdv.ojp20.StopFareRequestStructure 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 java.time.LocalDateTime;
import de.vdv.ojp20.siri.StopPointRefStructure;
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.util.LocalDateXmlAdapter;


/**
 * Sub-request: stop-related fare information.
 * 
 * 

Java class for StopFareRequestStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StopFareRequestStructure", propOrder = { "stopPointRef", "date" }) public class StopFareRequestStructure { /** * Reference to the stop point. * */ @XmlElement(name = "StopPointRef", namespace = "http://www.siri.org.uk/siri", required = true) protected StopPointRefStructure stopPointRef; /** * Date for which to retrieve Fare information. * */ @XmlElement(name = "Date", type = String.class) @XmlJavaTypeAdapter(LocalDateXmlAdapter.class) @XmlSchemaType(name = "date") protected LocalDateTime date; /** * Reference to the stop point. * * @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 } * * @see #getStopPointRef() */ public void setStopPointRef(StopPointRefStructure value) { this.stopPointRef = value; } /** * Date for which to retrieve Fare information. * * @return * possible object is * {@link String } * */ public LocalDateTime getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link String } * * @see #getDate() */ public void setDate(LocalDateTime value) { this.date = value; } public StopFareRequestStructure withStopPointRef(StopPointRefStructure value) { setStopPointRef(value); return this; } public StopFareRequestStructure withDate(LocalDateTime value) { setDate(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