
de.vdv.ojp20.siri.SiriSchema 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.siri;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for SiriSchema complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SiriSchema", propOrder = {
"serviceRequest",
"subscriptionRequest",
"terminateSubscriptionRequest",
"dataReadyNotification",
"dataSupplyRequest",
"checkStatusRequest",
"heartbeatNotification",
"capabilitiesRequest",
"abstractDiscoveryRequest",
"subscriptionResponse",
"terminateSubscriptionResponse",
"dataReadyAcknowledgement",
"serviceDelivery",
"dataReceivedAcknowledgement",
"checkStatusResponse",
"capabilitiesResponse",
"abstractDiscoveryDelivery",
"extensions"
})
public class SiriSchema {
@XmlElement(name = "ServiceRequest")
protected ServiceRequest serviceRequest;
@XmlElement(name = "SubscriptionRequest")
protected SubscriptionRequest subscriptionRequest;
@XmlElement(name = "TerminateSubscriptionRequest")
protected TerminateSubscriptionRequestStructure terminateSubscriptionRequest;
@XmlElement(name = "DataReadyNotification")
protected DataReadyRequestStructure dataReadyNotification;
@XmlElement(name = "DataSupplyRequest")
protected DataSupplyRequestStructure dataSupplyRequest;
@XmlElement(name = "CheckStatusRequest")
protected CheckStatusRequestStructure checkStatusRequest;
@XmlElement(name = "HeartbeatNotification")
protected HeartbeatNotificationStructure heartbeatNotification;
@XmlElement(name = "CapabilitiesRequest")
protected CapabilitiesRequestStructure capabilitiesRequest;
@XmlElement(name = "AbstractDiscoveryRequest")
protected AbstractDiscoveryRequestStructure abstractDiscoveryRequest;
@XmlElement(name = "SubscriptionResponse")
protected SubscriptionResponseStructure subscriptionResponse;
@XmlElement(name = "TerminateSubscriptionResponse")
protected TerminateSubscriptionResponseStructure terminateSubscriptionResponse;
@XmlElement(name = "DataReadyAcknowledgement")
protected DataReadyResponseStructure dataReadyAcknowledgement;
@XmlElement(name = "ServiceDelivery")
protected ServiceDelivery serviceDelivery;
@XmlElement(name = "DataReceivedAcknowledgement")
protected DataReceivedResponseStructure dataReceivedAcknowledgement;
@XmlElement(name = "CheckStatusResponse")
protected CheckStatusResponseStructure checkStatusResponse;
@XmlElement(name = "CapabilitiesResponse")
protected CapabilitiesResponseStructure capabilitiesResponse;
@XmlElement(name = "AbstractDiscoveryDelivery")
protected AbstractDiscoveryDeliveryStructure abstractDiscoveryDelivery;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
@XmlAttribute(name = "version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String version;
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
if (version == null) {
return "2.1";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
public SiriSchema withServiceRequest(ServiceRequest value) {
setServiceRequest(value);
return this;
}
public SiriSchema withSubscriptionRequest(SubscriptionRequest value) {
setSubscriptionRequest(value);
return this;
}
public SiriSchema withTerminateSubscriptionRequest(TerminateSubscriptionRequestStructure value) {
setTerminateSubscriptionRequest(value);
return this;
}
public SiriSchema withDataReadyNotification(DataReadyRequestStructure value) {
setDataReadyNotification(value);
return this;
}
public SiriSchema withDataSupplyRequest(DataSupplyRequestStructure value) {
setDataSupplyRequest(value);
return this;
}
public SiriSchema withCheckStatusRequest(CheckStatusRequestStructure value) {
setCheckStatusRequest(value);
return this;
}
public SiriSchema withHeartbeatNotification(HeartbeatNotificationStructure value) {
setHeartbeatNotification(value);
return this;
}
public SiriSchema withCapabilitiesRequest(CapabilitiesRequestStructure value) {
setCapabilitiesRequest(value);
return this;
}
public SiriSchema withAbstractDiscoveryRequest(AbstractDiscoveryRequestStructure value) {
setAbstractDiscoveryRequest(value);
return this;
}
public SiriSchema withSubscriptionResponse(SubscriptionResponseStructure value) {
setSubscriptionResponse(value);
return this;
}
public SiriSchema withTerminateSubscriptionResponse(TerminateSubscriptionResponseStructure value) {
setTerminateSubscriptionResponse(value);
return this;
}
public SiriSchema withDataReadyAcknowledgement(DataReadyResponseStructure value) {
setDataReadyAcknowledgement(value);
return this;
}
public SiriSchema withServiceDelivery(ServiceDelivery value) {
setServiceDelivery(value);
return this;
}
public SiriSchema withDataReceivedAcknowledgement(DataReceivedResponseStructure value) {
setDataReceivedAcknowledgement(value);
return this;
}
public SiriSchema withCheckStatusResponse(CheckStatusResponseStructure value) {
setCheckStatusResponse(value);
return this;
}
public SiriSchema withCapabilitiesResponse(CapabilitiesResponseStructure value) {
setCapabilitiesResponse(value);
return this;
}
public SiriSchema withAbstractDiscoveryDelivery(AbstractDiscoveryDeliveryStructure value) {
setAbstractDiscoveryDelivery(value);
return this;
}
public SiriSchema withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
public SiriSchema withVersion(String value) {
setVersion(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