All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.org.siri.siri20.AbstractDiscoveryDeliveryStructure Maven / Gradle / Ivy

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:39 PM UTC 
//


package uk.org.siri.siri20;

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.XmlSeeAlso;
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;


/**
 * Abstract supertype fro discovery responses.
 * 
 * 

Java class for AbstractDiscoveryDeliveryStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="AbstractDiscoveryDeliveryStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}ResponseStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}DeliveryStatusGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AbstractDiscoveryDeliveryStructure", propOrder = { "status", "errorCondition", "validUntil", "shortestPossibleCycle" }) @XmlSeeAlso({ StopPointsDeliveryStructure.class, LinesDeliveryStructure.class, ProductCategoriesDeliveryStructure.class, VehicleFeaturesDeliveryStructure.class, InfoChannelDeliveryStructure.class, FacilityDeliveryStructure.class, ServiceFeaturesDeliveryStructure.class, ConnectionLinksDeliveryStructure.class }) public class AbstractDiscoveryDeliveryStructure extends ResponseStructure implements Serializable { @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 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