![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.ResponseStatus 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.XmlRootElement;
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;
/**
* Type for Response Status.
*
* Java class for StatusResponseStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StatusResponseStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}ResponseStructure">
* <sequence>
* <group ref="{http://www.siri.org.uk/siri}ContextualisedResponseEndpointGroup"/>
* <group ref="{http://www.siri.org.uk/siri}SubscriptionIdentifierResourcePropertyGroup" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Status" minOccurs="0"/>
* <element name="ErrorCondition" type="{http://www.siri.org.uk/siri}ServiceDeliveryErrorConditionStructure" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}SuccessInfoGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusResponseStructure", propOrder = {
"requestMessageRef",
"subscriberRef",
"subscriptionFilterRef",
"subscriptionRef",
"status",
"errorCondition",
"validUntil",
"shortestPossibleCycle"
})
@XmlRootElement(name = "ResponseStatus")
public class ResponseStatus
extends ResponseStructure
implements Serializable
{
@XmlElement(name = "RequestMessageRef")
protected MessageRefStructure requestMessageRef;
@XmlElement(name = "SubscriberRef")
protected RequestorRef subscriberRef;
@XmlElement(name = "SubscriptionFilterRef")
protected SubscriptionFilterRefStructure subscriptionFilterRef;
@XmlElement(name = "SubscriptionRef")
protected SubscriptionRefStructure subscriptionRef;
@XmlElement(name = "Status", defaultValue = "true")
protected Boolean status;
@XmlElement(name = "ErrorCondition")
protected ServiceDeliveryErrorConditionElement 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;
/**
* Gets the value of the requestMessageRef property.
*
* @return
* possible object is
* {@link MessageRefStructure }
*
*/
public MessageRefStructure getRequestMessageRef() {
return requestMessageRef;
}
/**
* Sets the value of the requestMessageRef property.
*
* @param value
* allowed object is
* {@link MessageRefStructure }
*
*/
public void setRequestMessageRef(MessageRefStructure value) {
this.requestMessageRef = value;
}
/**
* Gets the value of the subscriberRef property.
*
* @return
* possible object is
* {@link RequestorRef }
*
*/
public RequestorRef getSubscriberRef() {
return subscriberRef;
}
/**
* Sets the value of the subscriberRef property.
*
* @param value
* allowed object is
* {@link RequestorRef }
*
*/
public void setSubscriberRef(RequestorRef value) {
this.subscriberRef = value;
}
/**
* Gets the value of the subscriptionFilterRef property.
*
* @return
* possible object is
* {@link SubscriptionFilterRefStructure }
*
*/
public SubscriptionFilterRefStructure getSubscriptionFilterRef() {
return subscriptionFilterRef;
}
/**
* Sets the value of the subscriptionFilterRef property.
*
* @param value
* allowed object is
* {@link SubscriptionFilterRefStructure }
*
*/
public void setSubscriptionFilterRef(SubscriptionFilterRefStructure value) {
this.subscriptionFilterRef = value;
}
/**
* Gets the value of the subscriptionRef property.
*
* @return
* possible object is
* {@link SubscriptionRefStructure }
*
*/
public SubscriptionRefStructure getSubscriptionRef() {
return subscriptionRef;
}
/**
* Sets the value of the subscriptionRef property.
*
* @param value
* allowed object is
* {@link SubscriptionRefStructure }
*
*/
public void setSubscriptionRef(SubscriptionRefStructure value) {
this.subscriptionRef = value;
}
/**
* 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 ServiceDeliveryErrorConditionElement }
*
*/
public ServiceDeliveryErrorConditionElement getErrorCondition() {
return errorCondition;
}
/**
* Sets the value of the errorCondition property.
*
* @param value
* allowed object is
* {@link ServiceDeliveryErrorConditionElement }
*
*/
public void setErrorCondition(ServiceDeliveryErrorConditionElement 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy