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

uk.org.siri.siri21.HeartbeatNotificationStructure 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: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;


/**
 * Type for Service Heartbeat Notification.
 * 
 * 

Java class for HeartbeatNotificationStructure complex type. * *

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

 * <complexType name="HeartbeatNotificationStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}ProducerRequestEndpointStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}CheckStatusPayloadGroup"/>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HeartbeatNotificationStructure", propOrder = { "status", "dataReady", "errorCondition", "validUntil", "shortestPossibleCycle", "serviceStartedTime", "extensions" }) public class HeartbeatNotificationStructure extends ProducerRequestEndpointStructure implements Serializable { @XmlElement(name = "Status", defaultValue = "true") protected Boolean status; @XmlElement(name = "DataReady") protected Boolean dataReady; @XmlElement(name = "ErrorCondition") protected uk.org.siri.siri21.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; @XmlElement(name = "Extensions") protected Extensions extensions; /** * 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 uk.org.siri.siri21.CheckStatusResponseBodyStructure.ErrorCondition } * */ public uk.org.siri.siri21.CheckStatusResponseBodyStructure.ErrorCondition getErrorCondition() { return errorCondition; } /** * Sets the value of the errorCondition property. * * @param value * allowed object is * {@link uk.org.siri.siri21.CheckStatusResponseBodyStructure.ErrorCondition } * */ public void setErrorCondition(uk.org.siri.siri21.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; } /** * Gets the value of the extensions property. * * @return * possible object is * {@link Extensions } * */ public Extensions getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value * allowed object is * {@link Extensions } * */ public void setExtensions(Extensions value) { this.extensions = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy