![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.SubscriptionContextStructure 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:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
import java.time.Duration;
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;
/**
* Type for Subscription context - Configuration parameters which may be evrriden.
*
* Java class for SubscriptionContextStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SubscriptionContextStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HeartbeatInterval" type="{http://www.siri.org.uk/siri}PositiveDurationType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubscriptionContextStructure", propOrder = {
"heartbeatInterval"
})
public class SubscriptionContextStructure
implements Serializable
{
@XmlElement(name = "HeartbeatInterval", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration heartbeatInterval;
/**
* Gets the value of the heartbeatInterval property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getHeartbeatInterval() {
return heartbeatInterval;
}
/**
* Sets the value of the heartbeatInterval property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHeartbeatInterval(Duration value) {
this.heartbeatInterval = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy