
de.vdv.ojp20.AbstractOJPServiceRequestStructure 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.AbstractFunctionalServiceRequestStructure;
import de.vdv.ojp20.siri.DataFrameRefStructure;
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.XmlSeeAlso;
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;
/**
* Basic request structure common for all OJP service requests.
*
* Java class for AbstractOJPServiceRequestStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractOJPServiceRequestStructure", propOrder = {
"dataFrameRef",
"extension"
})
@XmlSeeAlso({
OJPFareRequestStructure.class,
OJPLocationInformationRequestStructure.class,
OJPExchangePointsRequestStructure.class,
OJPStopEventRequestStructure.class,
OJPTripInfoRequestStructure.class,
OJPTripRequestStructure.class,
OJPMultiPointTripRequestStructure.class,
OJPStatusRequestStructure.class,
OJPTripRefineRequestStructure.class,
OJPAvailabilityRequestStructure.class,
OJPLineInformationRequestStructure.class,
OJPTripChangeRequestStructure.class
})
public class AbstractOJPServiceRequestStructure
extends AbstractFunctionalServiceRequestStructure
{
/**
* identifier of the set of data being used by an information system, which allows a comparison to be made with the versions of data being used by overlapping systems.
*
*/
@XmlElement(name = "DataFrameRef")
protected DataFrameRefStructure dataFrameRef;
@XmlElement(name = "Extension")
protected Object extension;
/**
* identifier of the set of data being used by an information system, which allows a comparison to be made with the versions of data being used by overlapping systems.
*
* @return
* possible object is
* {@link DataFrameRefStructure }
*
*/
public DataFrameRefStructure getDataFrameRef() {
return dataFrameRef;
}
/**
* Sets the value of the dataFrameRef property.
*
* @param value
* allowed object is
* {@link DataFrameRefStructure }
*
* @see #getDataFrameRef()
*/
public void setDataFrameRef(DataFrameRefStructure value) {
this.dataFrameRef = value;
}
/**
* Gets the value of the extension property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getExtension() {
return extension;
}
/**
* Sets the value of the extension property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setExtension(Object value) {
this.extension = value;
}
public AbstractOJPServiceRequestStructure withDataFrameRef(DataFrameRefStructure value) {
setDataFrameRef(value);
return this;
}
public AbstractOJPServiceRequestStructure withExtension(Object value) {
setExtension(value);
return this;
}
@Override
public AbstractOJPServiceRequestStructure withMessageIdentifier(MessageQualifierStructure value) {
setMessageIdentifier(value);
return this;
}
@Override
public AbstractOJPServiceRequestStructure 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