
de.vdv.ojp20.OJPFareRequestStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
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.DataFrameRefStructure;
import de.vdv.ojp20.siri.ExtensionsStructure;
import de.vdv.ojp20.siri.MessageQualifierStructure;
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 org.opentripplanner.ojp.time.XmlDateTime;
/**
* Java class for OJPFareRequestStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OJPFareRequestStructure", propOrder = {
"stopFareRequest",
"placeFareRequest",
"staticFareRequest",
"tripFareRequest",
"multiTripFareRequest",
"params",
"extensions"
})
public class OJPFareRequestStructure
extends AbstractOJPServiceRequestStructure
{
/**
* A request for stop-related FARE information.
*
*/
@XmlElement(name = "StopFareRequest")
protected StopFareRequestStructure stopFareRequest;
/**
* A request for place-related FARE information.
*
*/
@XmlElement(name = "PlaceFareRequest")
protected PlaceFareRequestStructure placeFareRequest;
/**
* A request for general/static FARE information.
*
*/
@XmlElement(name = "StaticFareRequest")
protected StaticFareRequestStructure staticFareRequest;
/**
* A request to calculate the FARE information of a single trip.
*
*/
@XmlElement(name = "TripFareRequest")
protected TripFareRequestStructure tripFareRequest;
/**
* A request to calculate aggregated FARE information of multiple single trips.
*
*/
@XmlElement(name = "MultiTripFareRequest")
protected MultiTripFareRequestStructure multiTripFareRequest;
/**
* Parameter to filter the response contents.
*
*/
@XmlElement(name = "Params")
protected FareParamStructure params;
@XmlElement(name = "Extensions", namespace = "http://www.siri.org.uk/siri")
protected ExtensionsStructure extensions;
/**
* A request for stop-related FARE information.
*
* @return
* possible object is
* {@link StopFareRequestStructure }
*
*/
public StopFareRequestStructure getStopFareRequest() {
return stopFareRequest;
}
/**
* Sets the value of the stopFareRequest property.
*
* @param value
* allowed object is
* {@link StopFareRequestStructure }
*
* @see #getStopFareRequest()
*/
public void setStopFareRequest(StopFareRequestStructure value) {
this.stopFareRequest = value;
}
/**
* A request for place-related FARE information.
*
* @return
* possible object is
* {@link PlaceFareRequestStructure }
*
*/
public PlaceFareRequestStructure getPlaceFareRequest() {
return placeFareRequest;
}
/**
* Sets the value of the placeFareRequest property.
*
* @param value
* allowed object is
* {@link PlaceFareRequestStructure }
*
* @see #getPlaceFareRequest()
*/
public void setPlaceFareRequest(PlaceFareRequestStructure value) {
this.placeFareRequest = value;
}
/**
* A request for general/static FARE information.
*
* @return
* possible object is
* {@link StaticFareRequestStructure }
*
*/
public StaticFareRequestStructure getStaticFareRequest() {
return staticFareRequest;
}
/**
* Sets the value of the staticFareRequest property.
*
* @param value
* allowed object is
* {@link StaticFareRequestStructure }
*
* @see #getStaticFareRequest()
*/
public void setStaticFareRequest(StaticFareRequestStructure value) {
this.staticFareRequest = value;
}
/**
* A request to calculate the FARE information of a single trip.
*
* @return
* possible object is
* {@link TripFareRequestStructure }
*
*/
public TripFareRequestStructure getTripFareRequest() {
return tripFareRequest;
}
/**
* Sets the value of the tripFareRequest property.
*
* @param value
* allowed object is
* {@link TripFareRequestStructure }
*
* @see #getTripFareRequest()
*/
public void setTripFareRequest(TripFareRequestStructure value) {
this.tripFareRequest = value;
}
/**
* A request to calculate aggregated FARE information of multiple single trips.
*
* @return
* possible object is
* {@link MultiTripFareRequestStructure }
*
*/
public MultiTripFareRequestStructure getMultiTripFareRequest() {
return multiTripFareRequest;
}
/**
* Sets the value of the multiTripFareRequest property.
*
* @param value
* allowed object is
* {@link MultiTripFareRequestStructure }
*
* @see #getMultiTripFareRequest()
*/
public void setMultiTripFareRequest(MultiTripFareRequestStructure value) {
this.multiTripFareRequest = value;
}
/**
* Parameter to filter the response contents.
*
* @return
* possible object is
* {@link FareParamStructure }
*
*/
public FareParamStructure getParams() {
return params;
}
/**
* Sets the value of the params property.
*
* @param value
* allowed object is
* {@link FareParamStructure }
*
* @see #getParams()
*/
public void setParams(FareParamStructure value) {
this.params = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public OJPFareRequestStructure withStopFareRequest(StopFareRequestStructure value) {
setStopFareRequest(value);
return this;
}
public OJPFareRequestStructure withPlaceFareRequest(PlaceFareRequestStructure value) {
setPlaceFareRequest(value);
return this;
}
public OJPFareRequestStructure withStaticFareRequest(StaticFareRequestStructure value) {
setStaticFareRequest(value);
return this;
}
public OJPFareRequestStructure withTripFareRequest(TripFareRequestStructure value) {
setTripFareRequest(value);
return this;
}
public OJPFareRequestStructure withMultiTripFareRequest(MultiTripFareRequestStructure value) {
setMultiTripFareRequest(value);
return this;
}
public OJPFareRequestStructure withParams(FareParamStructure value) {
setParams(value);
return this;
}
public OJPFareRequestStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public OJPFareRequestStructure withDataFrameRef(DataFrameRefStructure value) {
setDataFrameRef(value);
return this;
}
@Override
public OJPFareRequestStructure withExtension(Object value) {
setExtension(value);
return this;
}
@Override
public OJPFareRequestStructure withMessageIdentifier(MessageQualifierStructure value) {
setMessageIdentifier(value);
return this;
}
@Override
public OJPFareRequestStructure withRequestTimestamp(XmlDateTime value) {
setRequestTimestamp(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