
de.vdv.ojp20.OJPResponseStructure 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.AbstractDiscoveryDeliveryStructure;
import de.vdv.ojp20.siri.CapabilitiesResponseStructure;
import de.vdv.ojp20.siri.CheckStatusResponseStructure;
import de.vdv.ojp20.siri.DataReadyResponseStructure;
import de.vdv.ojp20.siri.DataReceivedResponseStructure;
import de.vdv.ojp20.siri.ServiceDelivery;
import de.vdv.ojp20.siri.SubscriptionResponseStructure;
import de.vdv.ojp20.siri.TerminateSubscriptionResponseStructure;
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 Response - Groups individual functional responses.
*
* Java class for OJPResponseStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OJPResponseStructure", propOrder = {
"subscriptionResponse",
"terminateSubscriptionResponse",
"dataReadyAcknowledgement",
"serviceDelivery",
"dataReceivedAcknowledgement",
"checkStatusResponse",
"capabilitiesResponse",
"abstractDiscoveryDelivery"
})
public class OJPResponseStructure {
@XmlElement(name = "SubscriptionResponse", namespace = "http://www.siri.org.uk/siri")
protected SubscriptionResponseStructure subscriptionResponse;
@XmlElement(name = "TerminateSubscriptionResponse", namespace = "http://www.siri.org.uk/siri")
protected TerminateSubscriptionResponseStructure terminateSubscriptionResponse;
@XmlElement(name = "DataReadyAcknowledgement", namespace = "http://www.siri.org.uk/siri")
protected DataReadyResponseStructure dataReadyAcknowledgement;
@XmlElement(name = "ServiceDelivery", namespace = "http://www.siri.org.uk/siri")
protected ServiceDelivery serviceDelivery;
@XmlElement(name = "DataReceivedAcknowledgement", namespace = "http://www.siri.org.uk/siri")
protected DataReceivedResponseStructure dataReceivedAcknowledgement;
@XmlElement(name = "CheckStatusResponse", namespace = "http://www.siri.org.uk/siri")
protected CheckStatusResponseStructure checkStatusResponse;
@XmlElement(name = "CapabilitiesResponse", namespace = "http://www.siri.org.uk/siri")
protected CapabilitiesResponseStructure capabilitiesResponse;
@XmlElement(name = "AbstractDiscoveryDelivery", namespace = "http://www.siri.org.uk/siri")
protected AbstractDiscoveryDeliveryStructure abstractDiscoveryDelivery;
/**
* Gets the value of the subscriptionResponse property.
*
* @return
* possible object is
* {@link SubscriptionResponseStructure }
*
*/
public SubscriptionResponseStructure getSubscriptionResponse() {
return subscriptionResponse;
}
/**
* Sets the value of the subscriptionResponse property.
*
* @param value
* allowed object is
* {@link SubscriptionResponseStructure }
*
*/
public void setSubscriptionResponse(SubscriptionResponseStructure value) {
this.subscriptionResponse = value;
}
/**
* Gets the value of the terminateSubscriptionResponse property.
*
* @return
* possible object is
* {@link TerminateSubscriptionResponseStructure }
*
*/
public TerminateSubscriptionResponseStructure getTerminateSubscriptionResponse() {
return terminateSubscriptionResponse;
}
/**
* Sets the value of the terminateSubscriptionResponse property.
*
* @param value
* allowed object is
* {@link TerminateSubscriptionResponseStructure }
*
*/
public void setTerminateSubscriptionResponse(TerminateSubscriptionResponseStructure value) {
this.terminateSubscriptionResponse = value;
}
/**
* Gets the value of the dataReadyAcknowledgement property.
*
* @return
* possible object is
* {@link DataReadyResponseStructure }
*
*/
public DataReadyResponseStructure getDataReadyAcknowledgement() {
return dataReadyAcknowledgement;
}
/**
* Sets the value of the dataReadyAcknowledgement property.
*
* @param value
* allowed object is
* {@link DataReadyResponseStructure }
*
*/
public void setDataReadyAcknowledgement(DataReadyResponseStructure value) {
this.dataReadyAcknowledgement = value;
}
/**
* Gets the value of the serviceDelivery property.
*
* @return
* possible object is
* {@link ServiceDelivery }
*
*/
public ServiceDelivery getServiceDelivery() {
return serviceDelivery;
}
/**
* Sets the value of the serviceDelivery property.
*
* @param value
* allowed object is
* {@link ServiceDelivery }
*
*/
public void setServiceDelivery(ServiceDelivery value) {
this.serviceDelivery = value;
}
/**
* Gets the value of the dataReceivedAcknowledgement property.
*
* @return
* possible object is
* {@link DataReceivedResponseStructure }
*
*/
public DataReceivedResponseStructure getDataReceivedAcknowledgement() {
return dataReceivedAcknowledgement;
}
/**
* Sets the value of the dataReceivedAcknowledgement property.
*
* @param value
* allowed object is
* {@link DataReceivedResponseStructure }
*
*/
public void setDataReceivedAcknowledgement(DataReceivedResponseStructure value) {
this.dataReceivedAcknowledgement = value;
}
/**
* Gets the value of the checkStatusResponse property.
*
* @return
* possible object is
* {@link CheckStatusResponseStructure }
*
*/
public CheckStatusResponseStructure getCheckStatusResponse() {
return checkStatusResponse;
}
/**
* Sets the value of the checkStatusResponse property.
*
* @param value
* allowed object is
* {@link CheckStatusResponseStructure }
*
*/
public void setCheckStatusResponse(CheckStatusResponseStructure value) {
this.checkStatusResponse = value;
}
/**
* Gets the value of the capabilitiesResponse property.
*
* @return
* possible object is
* {@link CapabilitiesResponseStructure }
*
*/
public CapabilitiesResponseStructure getCapabilitiesResponse() {
return capabilitiesResponse;
}
/**
* Sets the value of the capabilitiesResponse property.
*
* @param value
* allowed object is
* {@link CapabilitiesResponseStructure }
*
*/
public void setCapabilitiesResponse(CapabilitiesResponseStructure value) {
this.capabilitiesResponse = value;
}
/**
* Gets the value of the abstractDiscoveryDelivery property.
*
* @return
* possible object is
* {@link AbstractDiscoveryDeliveryStructure }
*
*/
public AbstractDiscoveryDeliveryStructure getAbstractDiscoveryDelivery() {
return abstractDiscoveryDelivery;
}
/**
* Sets the value of the abstractDiscoveryDelivery property.
*
* @param value
* allowed object is
* {@link AbstractDiscoveryDeliveryStructure }
*
*/
public void setAbstractDiscoveryDelivery(AbstractDiscoveryDeliveryStructure value) {
this.abstractDiscoveryDelivery = value;
}
public OJPResponseStructure withSubscriptionResponse(SubscriptionResponseStructure value) {
setSubscriptionResponse(value);
return this;
}
public OJPResponseStructure withTerminateSubscriptionResponse(TerminateSubscriptionResponseStructure value) {
setTerminateSubscriptionResponse(value);
return this;
}
public OJPResponseStructure withDataReadyAcknowledgement(DataReadyResponseStructure value) {
setDataReadyAcknowledgement(value);
return this;
}
public OJPResponseStructure withServiceDelivery(ServiceDelivery value) {
setServiceDelivery(value);
return this;
}
public OJPResponseStructure withDataReceivedAcknowledgement(DataReceivedResponseStructure value) {
setDataReceivedAcknowledgement(value);
return this;
}
public OJPResponseStructure withCheckStatusResponse(CheckStatusResponseStructure value) {
setCheckStatusResponse(value);
return this;
}
public OJPResponseStructure withCapabilitiesResponse(CapabilitiesResponseStructure value) {
setCapabilitiesResponse(value);
return this;
}
public OJPResponseStructure withAbstractDiscoveryDelivery(AbstractDiscoveryDeliveryStructure value) {
setAbstractDiscoveryDelivery(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