![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.CheckStatusResponseBodyStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:41 PM UTC
//
package uk.org.siri.siri21;
import java.io.Serializable;
import java.time.Duration;
import java.time.ZonedDateTime;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.entur.siri.adapter.DurationXmlAdapter;
import org.w3._2001.xmlschema.Adapter1;
/**
* Same as CheckStatusResponseStructure, but without extension to be consistent with the other operation definition.
*
* Java class for CheckStatusResponseBodyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CheckStatusResponseBodyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}CheckStatusPayloadGroup"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CheckStatusResponseBodyStructure", propOrder = {
"status",
"dataReady",
"errorCondition",
"validUntil",
"shortestPossibleCycle",
"serviceStartedTime"
})
public class CheckStatusResponseBodyStructure
implements Serializable
{
@XmlElement(name = "Status", defaultValue = "true")
protected Boolean status;
@XmlElement(name = "DataReady")
protected Boolean dataReady;
@XmlElement(name = "ErrorCondition")
protected CheckStatusResponseBodyStructure.ErrorCondition errorCondition;
@XmlElement(name = "ValidUntil", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime validUntil;
@XmlElement(name = "ShortestPossibleCycle", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration shortestPossibleCycle;
@XmlElement(name = "ServiceStartedTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime serviceStartedTime;
/**
* 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 dataReady property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDataReady() {
return dataReady;
}
/**
* Sets the value of the dataReady property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDataReady(Boolean value) {
this.dataReady = value;
}
/**
* Gets the value of the errorCondition property.
*
* @return
* possible object is
* {@link CheckStatusResponseBodyStructure.ErrorCondition }
*
*/
public CheckStatusResponseBodyStructure.ErrorCondition getErrorCondition() {
return errorCondition;
}
/**
* Sets the value of the errorCondition property.
*
* @param value
* allowed object is
* {@link CheckStatusResponseBodyStructure.ErrorCondition }
*
*/
public void setErrorCondition(CheckStatusResponseBodyStructure.ErrorCondition value) {
this.errorCondition = value;
}
/**
* Gets the value of the validUntil property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getValidUntil() {
return validUntil;
}
/**
* Sets the value of the validUntil property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValidUntil(ZonedDateTime value) {
this.validUntil = value;
}
/**
* Gets the value of the shortestPossibleCycle property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getShortestPossibleCycle() {
return shortestPossibleCycle;
}
/**
* Sets the value of the shortestPossibleCycle property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShortestPossibleCycle(Duration value) {
this.shortestPossibleCycle = value;
}
/**
* Gets the value of the serviceStartedTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getServiceStartedTime() {
return serviceStartedTime;
}
/**
* Sets the value of the serviceStartedTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServiceStartedTime(ZonedDateTime value) {
this.serviceStartedTime = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element ref="{http://www.siri.org.uk/siri}ServiceNotAvailableError"/>
* <element ref="{http://www.siri.org.uk/siri}OtherError"/>
* </choice>
* <element name="Description" type="{http://www.siri.org.uk/siri}ErrorDescriptionStructure" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"otherError",
"serviceNotAvailableError",
"description"
})
public static class ErrorCondition
implements Serializable
{
@XmlElement(name = "OtherError")
protected OtherErrorStructure otherError;
@XmlElement(name = "ServiceNotAvailableError")
protected ServiceNotAvailableErrorStructure serviceNotAvailableError;
@XmlElement(name = "Description")
protected ErrorDescriptionStructure description;
/**
* Gets the value of the otherError property.
*
* @return
* possible object is
* {@link OtherErrorStructure }
*
*/
public OtherErrorStructure getOtherError() {
return otherError;
}
/**
* Sets the value of the otherError property.
*
* @param value
* allowed object is
* {@link OtherErrorStructure }
*
*/
public void setOtherError(OtherErrorStructure value) {
this.otherError = value;
}
/**
* Gets the value of the serviceNotAvailableError property.
*
* @return
* possible object is
* {@link ServiceNotAvailableErrorStructure }
*
*/
public ServiceNotAvailableErrorStructure getServiceNotAvailableError() {
return serviceNotAvailableError;
}
/**
* Sets the value of the serviceNotAvailableError property.
*
* @param value
* allowed object is
* {@link ServiceNotAvailableErrorStructure }
*
*/
public void setServiceNotAvailableError(ServiceNotAvailableErrorStructure value) {
this.serviceNotAvailableError = 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;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy