![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.GeneralMessageServiceCapabilities 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.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;
/**
* Type for General Message Capabilities.
*
* Java class for GeneralMessageServiceCapabilitiesStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GeneralMessageServiceCapabilitiesStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractCapabilitiesStructure">
* <sequence>
* <element name="TopicFiltering" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DefaultPreviewInterval" type="{http://www.siri.org.uk/siri}PositiveDurationType"/>
* <element name="FilterByInfoChannel" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="RequestPolicy" type="{http://www.siri.org.uk/siri}CapabilityRequestPolicyStructure" minOccurs="0"/>
* <element name="AccessControl" type="{http://www.siri.org.uk/siri}GeneralMessageCapabilityAccessControlStructure" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GeneralMessageServiceCapabilitiesStructure", propOrder = {
"topicFiltering",
"requestPolicy",
"accessControl"
})
@XmlRootElement(name = "GeneralMessageServiceCapabilities")
public class GeneralMessageServiceCapabilities
extends AbstractCapabilitiesStructure
implements Serializable
{
@XmlElement(name = "TopicFiltering")
protected GeneralMessageServiceCapabilities.TopicFiltering topicFiltering;
@XmlElement(name = "RequestPolicy")
protected CapabilityRequestPolicyStructure requestPolicy;
@XmlElement(name = "AccessControl")
protected GeneralMessageCapabilityAccessControlStructure accessControl;
/**
* Gets the value of the topicFiltering property.
*
* @return
* possible object is
* {@link GeneralMessageServiceCapabilities.TopicFiltering }
*
*/
public GeneralMessageServiceCapabilities.TopicFiltering getTopicFiltering() {
return topicFiltering;
}
/**
* Sets the value of the topicFiltering property.
*
* @param value
* allowed object is
* {@link GeneralMessageServiceCapabilities.TopicFiltering }
*
*/
public void setTopicFiltering(GeneralMessageServiceCapabilities.TopicFiltering value) {
this.topicFiltering = value;
}
/**
* Gets the value of the requestPolicy property.
*
* @return
* possible object is
* {@link CapabilityRequestPolicyStructure }
*
*/
public CapabilityRequestPolicyStructure getRequestPolicy() {
return requestPolicy;
}
/**
* Sets the value of the requestPolicy property.
*
* @param value
* allowed object is
* {@link CapabilityRequestPolicyStructure }
*
*/
public void setRequestPolicy(CapabilityRequestPolicyStructure value) {
this.requestPolicy = value;
}
/**
* Gets the value of the accessControl property.
*
* @return
* possible object is
* {@link GeneralMessageCapabilityAccessControlStructure }
*
*/
public GeneralMessageCapabilityAccessControlStructure getAccessControl() {
return accessControl;
}
/**
* Sets the value of the accessControl property.
*
* @param value
* allowed object is
* {@link GeneralMessageCapabilityAccessControlStructure }
*
*/
public void setAccessControl(GeneralMessageCapabilityAccessControlStructure value) {
this.accessControl = 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>
* <element name="DefaultPreviewInterval" type="{http://www.siri.org.uk/siri}PositiveDurationType"/>
* <element name="FilterByInfoChannel" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"defaultPreviewInterval",
"filterByInfoChannel"
})
public static class TopicFiltering
implements Serializable
{
@XmlElement(name = "DefaultPreviewInterval", required = true, type = String.class, defaultValue = "PT60M")
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration defaultPreviewInterval;
@XmlElement(name = "FilterByInfoChannel", defaultValue = "true")
protected Boolean filterByInfoChannel;
/**
* Gets the value of the defaultPreviewInterval property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getDefaultPreviewInterval() {
return defaultPreviewInterval;
}
/**
* Sets the value of the defaultPreviewInterval property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultPreviewInterval(Duration value) {
this.defaultPreviewInterval = value;
}
/**
* Gets the value of the filterByInfoChannel property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFilterByInfoChannel() {
return filterByInfoChannel;
}
/**
* Sets the value of the filterByInfoChannel property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFilterByInfoChannel(Boolean value) {
this.filterByInfoChannel = value;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy