
de.vdv.ojp20.siri.DataReadyResponseStructure 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 de.vdv.ojp20.OJPErrorStructure;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
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 DataReadyResponseStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataReadyResponseStructure", propOrder = {
"status",
"errorCondition"
})
public class DataReadyResponseStructure
extends ConsumerResponseEndpointStructure
{
@XmlElement(name = "Status", defaultValue = "true")
protected Boolean status;
@XmlElement(name = "ErrorCondition")
protected DataReadyResponseStructure.ErrorCondition errorCondition;
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setStatus(Boolean value) {
this.status = value;
}
/**
* Gets the value of the errorCondition property.
*
* @return
* possible object is
* {@link DataReadyResponseStructure.ErrorCondition }
*
*/
public DataReadyResponseStructure.ErrorCondition getErrorCondition() {
return errorCondition;
}
/**
* Sets the value of the errorCondition property.
*
* @param value
* allowed object is
* {@link DataReadyResponseStructure.ErrorCondition }
*
*/
public void setErrorCondition(DataReadyResponseStructure.ErrorCondition value) {
this.errorCondition = value;
}
public DataReadyResponseStructure withStatus(Boolean value) {
setStatus(value);
return this;
}
public DataReadyResponseStructure withErrorCondition(DataReadyResponseStructure.ErrorCondition value) {
setErrorCondition(value);
return this;
}
@Override
public DataReadyResponseStructure withConsumerRef(ParticipantRefStructure value) {
setConsumerRef(value);
return this;
}
@Override
public DataReadyResponseStructure withRequestMessageRef(MessageRefStructure value) {
setRequestMessageRef(value);
return this;
}
@Override
public DataReadyResponseStructure withDelegatorAddress(String value) {
setDelegatorAddress(value);
return this;
}
@Override
public DataReadyResponseStructure withDelegatorRef(ParticipantRefStructure value) {
setDelegatorRef(value);
return this;
}
@Override
public DataReadyResponseStructure withResponseTimestamp(XmlDateTime value) {
setResponseTimestamp(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);
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"unknownSubscriptionError",
"otherError",
"description"
})
public static class ErrorCondition {
@XmlElement(name = "UnknownSubscriptionError")
protected UnknownSubscriptionErrorStructure unknownSubscriptionError;
@XmlElementRef(name = "OtherError", namespace = "http://www.siri.org.uk/siri", type = JAXBElement.class, required = false)
protected JAXBElement extends OtherErrorStructure> otherError;
@XmlElement(name = "Description")
protected ErrorDescriptionStructure description;
/**
* Gets the value of the unknownSubscriptionError property.
*
* @return
* possible object is
* {@link UnknownSubscriptionErrorStructure }
*
*/
public UnknownSubscriptionErrorStructure getUnknownSubscriptionError() {
return unknownSubscriptionError;
}
/**
* Sets the value of the unknownSubscriptionError property.
*
* @param value
* allowed object is
* {@link UnknownSubscriptionErrorStructure }
*
*/
public void setUnknownSubscriptionError(UnknownSubscriptionErrorStructure value) {
this.unknownSubscriptionError = value;
}
/**
* Gets the value of the otherError property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link OJPErrorStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OtherErrorStructure }{@code >}
*
*/
public JAXBElement extends OtherErrorStructure> getOtherError() {
return otherError;
}
/**
* Sets the value of the otherError property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link OJPErrorStructure }{@code >}
* {@link JAXBElement }{@code <}{@link OtherErrorStructure }{@code >}
*
*/
public void setOtherError(JAXBElement extends OtherErrorStructure> value) {
this.otherError = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link ErrorDescriptionStructure }
*
*/
public ErrorDescriptionStructure getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link ErrorDescriptionStructure }
*
*/
public void setDescription(ErrorDescriptionStructure value) {
this.description = value;
}
public DataReadyResponseStructure.ErrorCondition withUnknownSubscriptionError(UnknownSubscriptionErrorStructure value) {
setUnknownSubscriptionError(value);
return this;
}
public DataReadyResponseStructure.ErrorCondition withOtherError(JAXBElement extends OtherErrorStructure> value) {
setOtherError(value);
return this;
}
public DataReadyResponseStructure.ErrorCondition withDescription(ErrorDescriptionStructure value) {
setDescription(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