
de.vdv.ojp20.OJPTripRefineRequestStructure 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 OJPTripRefineRequestStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OJPTripRefineRequestStructure", propOrder = {
"refineParams",
"tripResult",
"tripResponseContext",
"extensions"
})
public class OJPTripRefineRequestStructure
extends AbstractOJPServiceRequestStructure
{
/**
* Options to control the refine
*
*/
@XmlElement(name = "RefineParams")
protected TripRefineParamStructure refineParams;
/**
* The trip result to be refined by the server.
*
*/
@XmlElement(name = "TripResult", required = true)
protected TripResultStructure tripResult;
/**
* Context to hold objects, which are referenced within the response.
*
*/
@XmlElement(name = "TripResponseContext")
protected ResponseContextStructure tripResponseContext;
@XmlElement(name = "Extensions", namespace = "http://www.siri.org.uk/siri")
protected ExtensionsStructure extensions;
/**
* Options to control the refine
*
* @return
* possible object is
* {@link TripRefineParamStructure }
*
*/
public TripRefineParamStructure getRefineParams() {
return refineParams;
}
/**
* Sets the value of the refineParams property.
*
* @param value
* allowed object is
* {@link TripRefineParamStructure }
*
* @see #getRefineParams()
*/
public void setRefineParams(TripRefineParamStructure value) {
this.refineParams = value;
}
/**
* The trip result to be refined by the server.
*
* @return
* possible object is
* {@link TripResultStructure }
*
*/
public TripResultStructure getTripResult() {
return tripResult;
}
/**
* Sets the value of the tripResult property.
*
* @param value
* allowed object is
* {@link TripResultStructure }
*
* @see #getTripResult()
*/
public void setTripResult(TripResultStructure value) {
this.tripResult = value;
}
/**
* Context to hold objects, which are referenced within the response.
*
* @return
* possible object is
* {@link ResponseContextStructure }
*
*/
public ResponseContextStructure getTripResponseContext() {
return tripResponseContext;
}
/**
* Sets the value of the tripResponseContext property.
*
* @param value
* allowed object is
* {@link ResponseContextStructure }
*
* @see #getTripResponseContext()
*/
public void setTripResponseContext(ResponseContextStructure value) {
this.tripResponseContext = 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 OJPTripRefineRequestStructure withRefineParams(TripRefineParamStructure value) {
setRefineParams(value);
return this;
}
public OJPTripRefineRequestStructure withTripResult(TripResultStructure value) {
setTripResult(value);
return this;
}
public OJPTripRefineRequestStructure withTripResponseContext(ResponseContextStructure value) {
setTripResponseContext(value);
return this;
}
public OJPTripRefineRequestStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public OJPTripRefineRequestStructure withDataFrameRef(DataFrameRefStructure value) {
setDataFrameRef(value);
return this;
}
@Override
public OJPTripRefineRequestStructure withExtension(Object value) {
setExtension(value);
return this;
}
@Override
public OJPTripRefineRequestStructure withMessageIdentifier(MessageQualifierStructure value) {
setMessageIdentifier(value);
return this;
}
@Override
public OJPTripRefineRequestStructure 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