
de.vdv.ojp20.OJPRequestStructure 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.AbstractDiscoveryRequestStructure;
import de.vdv.ojp20.siri.CapabilitiesRequestStructure;
import de.vdv.ojp20.siri.CheckStatusRequestStructure;
import de.vdv.ojp20.siri.DataReadyRequestStructure;
import de.vdv.ojp20.siri.DataSupplyRequestStructure;
import de.vdv.ojp20.siri.HeartbeatNotificationStructure;
import de.vdv.ojp20.siri.ServiceRequest;
import de.vdv.ojp20.siri.SubscriptionRequest;
import de.vdv.ojp20.siri.TerminateSubscriptionRequestStructure;
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;
/**
* Type for OJP Request - Groups individual functional requests.
*
* Java class for OJPRequestStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OJPRequestStructure", propOrder = {
"serviceRequest",
"subscriptionRequest",
"terminateSubscriptionRequest",
"dataReadyNotification",
"dataSupplyRequest",
"checkStatusRequest",
"heartbeatNotification",
"capabilitiesRequest",
"abstractDiscoveryRequest"
})
public class OJPRequestStructure {
@XmlElement(name = "ServiceRequest", namespace = "http://www.siri.org.uk/siri")
protected ServiceRequest serviceRequest;
@XmlElement(name = "SubscriptionRequest", namespace = "http://www.siri.org.uk/siri")
protected SubscriptionRequest subscriptionRequest;
@XmlElement(name = "TerminateSubscriptionRequest", namespace = "http://www.siri.org.uk/siri")
protected TerminateSubscriptionRequestStructure terminateSubscriptionRequest;
@XmlElement(name = "DataReadyNotification", namespace = "http://www.siri.org.uk/siri")
protected DataReadyRequestStructure dataReadyNotification;
@XmlElement(name = "DataSupplyRequest", namespace = "http://www.siri.org.uk/siri")
protected DataSupplyRequestStructure dataSupplyRequest;
@XmlElement(name = "CheckStatusRequest", namespace = "http://www.siri.org.uk/siri")
protected CheckStatusRequestStructure checkStatusRequest;
@XmlElement(name = "HeartbeatNotification", namespace = "http://www.siri.org.uk/siri")
protected HeartbeatNotificationStructure heartbeatNotification;
@XmlElement(name = "CapabilitiesRequest", namespace = "http://www.siri.org.uk/siri")
protected CapabilitiesRequestStructure capabilitiesRequest;
@XmlElement(name = "AbstractDiscoveryRequest", namespace = "http://www.siri.org.uk/siri")
protected AbstractDiscoveryRequestStructure abstractDiscoveryRequest;
/**
* Gets the value of the serviceRequest property.
*
* @return
* possible object is
* {@link ServiceRequest }
*
*/
public ServiceRequest getServiceRequest() {
return serviceRequest;
}
/**
* Sets the value of the serviceRequest property.
*
* @param value
* allowed object is
* {@link ServiceRequest }
*
*/
public void setServiceRequest(ServiceRequest value) {
this.serviceRequest = value;
}
/**
* Gets the value of the subscriptionRequest property.
*
* @return
* possible object is
* {@link SubscriptionRequest }
*
*/
public SubscriptionRequest getSubscriptionRequest() {
return subscriptionRequest;
}
/**
* Sets the value of the subscriptionRequest property.
*
* @param value
* allowed object is
* {@link SubscriptionRequest }
*
*/
public void setSubscriptionRequest(SubscriptionRequest value) {
this.subscriptionRequest = value;
}
/**
* Gets the value of the terminateSubscriptionRequest property.
*
* @return
* possible object is
* {@link TerminateSubscriptionRequestStructure }
*
*/
public TerminateSubscriptionRequestStructure getTerminateSubscriptionRequest() {
return terminateSubscriptionRequest;
}
/**
* Sets the value of the terminateSubscriptionRequest property.
*
* @param value
* allowed object is
* {@link TerminateSubscriptionRequestStructure }
*
*/
public void setTerminateSubscriptionRequest(TerminateSubscriptionRequestStructure value) {
this.terminateSubscriptionRequest = value;
}
/**
* Gets the value of the dataReadyNotification property.
*
* @return
* possible object is
* {@link DataReadyRequestStructure }
*
*/
public DataReadyRequestStructure getDataReadyNotification() {
return dataReadyNotification;
}
/**
* Sets the value of the dataReadyNotification property.
*
* @param value
* allowed object is
* {@link DataReadyRequestStructure }
*
*/
public void setDataReadyNotification(DataReadyRequestStructure value) {
this.dataReadyNotification = value;
}
/**
* Gets the value of the dataSupplyRequest property.
*
* @return
* possible object is
* {@link DataSupplyRequestStructure }
*
*/
public DataSupplyRequestStructure getDataSupplyRequest() {
return dataSupplyRequest;
}
/**
* Sets the value of the dataSupplyRequest property.
*
* @param value
* allowed object is
* {@link DataSupplyRequestStructure }
*
*/
public void setDataSupplyRequest(DataSupplyRequestStructure value) {
this.dataSupplyRequest = value;
}
/**
* Gets the value of the checkStatusRequest property.
*
* @return
* possible object is
* {@link CheckStatusRequestStructure }
*
*/
public CheckStatusRequestStructure getCheckStatusRequest() {
return checkStatusRequest;
}
/**
* Sets the value of the checkStatusRequest property.
*
* @param value
* allowed object is
* {@link CheckStatusRequestStructure }
*
*/
public void setCheckStatusRequest(CheckStatusRequestStructure value) {
this.checkStatusRequest = value;
}
/**
* Gets the value of the heartbeatNotification property.
*
* @return
* possible object is
* {@link HeartbeatNotificationStructure }
*
*/
public HeartbeatNotificationStructure getHeartbeatNotification() {
return heartbeatNotification;
}
/**
* Sets the value of the heartbeatNotification property.
*
* @param value
* allowed object is
* {@link HeartbeatNotificationStructure }
*
*/
public void setHeartbeatNotification(HeartbeatNotificationStructure value) {
this.heartbeatNotification = value;
}
/**
* Gets the value of the capabilitiesRequest property.
*
* @return
* possible object is
* {@link CapabilitiesRequestStructure }
*
*/
public CapabilitiesRequestStructure getCapabilitiesRequest() {
return capabilitiesRequest;
}
/**
* Sets the value of the capabilitiesRequest property.
*
* @param value
* allowed object is
* {@link CapabilitiesRequestStructure }
*
*/
public void setCapabilitiesRequest(CapabilitiesRequestStructure value) {
this.capabilitiesRequest = value;
}
/**
* Gets the value of the abstractDiscoveryRequest property.
*
* @return
* possible object is
* {@link AbstractDiscoveryRequestStructure }
*
*/
public AbstractDiscoveryRequestStructure getAbstractDiscoveryRequest() {
return abstractDiscoveryRequest;
}
/**
* Sets the value of the abstractDiscoveryRequest property.
*
* @param value
* allowed object is
* {@link AbstractDiscoveryRequestStructure }
*
*/
public void setAbstractDiscoveryRequest(AbstractDiscoveryRequestStructure value) {
this.abstractDiscoveryRequest = value;
}
public OJPRequestStructure withServiceRequest(ServiceRequest value) {
setServiceRequest(value);
return this;
}
public OJPRequestStructure withSubscriptionRequest(SubscriptionRequest value) {
setSubscriptionRequest(value);
return this;
}
public OJPRequestStructure withTerminateSubscriptionRequest(TerminateSubscriptionRequestStructure value) {
setTerminateSubscriptionRequest(value);
return this;
}
public OJPRequestStructure withDataReadyNotification(DataReadyRequestStructure value) {
setDataReadyNotification(value);
return this;
}
public OJPRequestStructure withDataSupplyRequest(DataSupplyRequestStructure value) {
setDataSupplyRequest(value);
return this;
}
public OJPRequestStructure withCheckStatusRequest(CheckStatusRequestStructure value) {
setCheckStatusRequest(value);
return this;
}
public OJPRequestStructure withHeartbeatNotification(HeartbeatNotificationStructure value) {
setHeartbeatNotification(value);
return this;
}
public OJPRequestStructure withCapabilitiesRequest(CapabilitiesRequestStructure value) {
setCapabilitiesRequest(value);
return this;
}
public OJPRequestStructure withAbstractDiscoveryRequest(AbstractDiscoveryRequestStructure value) {
setAbstractDiscoveryRequest(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