org.rutebanken.netex.model.DataObjectServiceCapabilitiesStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.21 at 10:53:23 AM CEST
//
package org.rutebanken.netex.model;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import uk.org.siri.siri.AbstractCapabilitiesStructure;
import uk.org.siri.siri.CapabilityGeneralInteractionStructure;
import uk.org.siri.siri.TransportDescriptionStructure;
/**
* Java class for DataObjectServiceCapabilitiesStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataObjectServiceCapabilitiesStructure">
* <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="FilterByFrame" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="RequestPolicy" minOccurs="0">
* <complexType>
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DataObjectCapabilityRequestPolicyStructure">
* <sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </element>
* <element name="SubscriptionPolicy" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HasIncrementalUpdates" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ResponseFeatures" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataObjectServiceCapabilitiesStructure", propOrder = {
"topicFiltering",
"requestPolicy",
"subscriptionPolicy",
"responseFeatures"
})
public class DataObjectServiceCapabilitiesStructure
extends AbstractCapabilitiesStructure
{
@XmlElement(name = "TopicFiltering")
protected DataObjectServiceCapabilitiesStructure.TopicFiltering topicFiltering;
@XmlElement(name = "RequestPolicy")
protected DataObjectServiceCapabilitiesStructure.RequestPolicy requestPolicy;
@XmlElement(name = "SubscriptionPolicy")
protected DataObjectServiceCapabilitiesStructure.SubscriptionPolicy subscriptionPolicy;
@XmlElement(name = "ResponseFeatures")
protected DataObjectServiceCapabilitiesStructure.ResponseFeatures responseFeatures;
/**
* Gets the value of the topicFiltering property.
*
* @return
* possible object is
* {@link DataObjectServiceCapabilitiesStructure.TopicFiltering }
*
*/
public DataObjectServiceCapabilitiesStructure.TopicFiltering getTopicFiltering() {
return topicFiltering;
}
/**
* Sets the value of the topicFiltering property.
*
* @param value
* allowed object is
* {@link DataObjectServiceCapabilitiesStructure.TopicFiltering }
*
*/
public void setTopicFiltering(DataObjectServiceCapabilitiesStructure.TopicFiltering value) {
this.topicFiltering = value;
}
/**
* Gets the value of the requestPolicy property.
*
* @return
* possible object is
* {@link DataObjectServiceCapabilitiesStructure.RequestPolicy }
*
*/
public DataObjectServiceCapabilitiesStructure.RequestPolicy getRequestPolicy() {
return requestPolicy;
}
/**
* Sets the value of the requestPolicy property.
*
* @param value
* allowed object is
* {@link DataObjectServiceCapabilitiesStructure.RequestPolicy }
*
*/
public void setRequestPolicy(DataObjectServiceCapabilitiesStructure.RequestPolicy value) {
this.requestPolicy = value;
}
/**
* Gets the value of the subscriptionPolicy property.
*
* @return
* possible object is
* {@link DataObjectServiceCapabilitiesStructure.SubscriptionPolicy }
*
*/
public DataObjectServiceCapabilitiesStructure.SubscriptionPolicy getSubscriptionPolicy() {
return subscriptionPolicy;
}
/**
* Sets the value of the subscriptionPolicy property.
*
* @param value
* allowed object is
* {@link DataObjectServiceCapabilitiesStructure.SubscriptionPolicy }
*
*/
public void setSubscriptionPolicy(DataObjectServiceCapabilitiesStructure.SubscriptionPolicy value) {
this.subscriptionPolicy = value;
}
/**
* Gets the value of the responseFeatures property.
*
* @return
* possible object is
* {@link DataObjectServiceCapabilitiesStructure.ResponseFeatures }
*
*/
public DataObjectServiceCapabilitiesStructure.ResponseFeatures getResponseFeatures() {
return responseFeatures;
}
/**
* Sets the value of the responseFeatures property.
*
* @param value
* allowed object is
* {@link DataObjectServiceCapabilitiesStructure.ResponseFeatures }
*
*/
public void setResponseFeatures(DataObjectServiceCapabilitiesStructure.ResponseFeatures value) {
this.responseFeatures = value;
}
public DataObjectServiceCapabilitiesStructure withTopicFiltering(DataObjectServiceCapabilitiesStructure.TopicFiltering value) {
setTopicFiltering(value);
return this;
}
public DataObjectServiceCapabilitiesStructure withRequestPolicy(DataObjectServiceCapabilitiesStructure.RequestPolicy value) {
setRequestPolicy(value);
return this;
}
public DataObjectServiceCapabilitiesStructure withSubscriptionPolicy(DataObjectServiceCapabilitiesStructure.SubscriptionPolicy value) {
setSubscriptionPolicy(value);
return this;
}
public DataObjectServiceCapabilitiesStructure withResponseFeatures(DataObjectServiceCapabilitiesStructure.ResponseFeatures value) {
setResponseFeatures(value);
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure withGeneralInteraction(CapabilityGeneralInteractionStructure value) {
setGeneralInteraction(value);
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure withTransportDescription(TransportDescriptionStructure value) {
setTransportDescription(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DataObjectCapabilityRequestPolicyStructure">
* <sequence>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class RequestPolicy
extends DataObjectCapabilityRequestPolicyStructure
{
@Override
public DataObjectServiceCapabilitiesStructure.RequestPolicy withNationalLanguage(String... values) {
if (values!= null) {
for (String value: values) {
getNationalLanguage().add(value);
}
}
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure.RequestPolicy withNationalLanguage(Collection values) {
if (values!= null) {
getNationalLanguage().addAll(values);
}
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure.RequestPolicy withTranslations(Boolean value) {
setTranslations(value);
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure.RequestPolicy withGmlCoordinateFormat(String value) {
setGmlCoordinateFormat(value);
return this;
}
@Override
public DataObjectServiceCapabilitiesStructure.RequestPolicy withWgsDecimalDegrees(String value) {
setWgsDecimalDegrees(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
/**
* 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>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class ResponseFeatures {
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
/**
* 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="HasIncrementalUpdates" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"hasIncrementalUpdates"
})
public static class SubscriptionPolicy {
@XmlElement(name = "HasIncrementalUpdates", defaultValue = "true")
protected Boolean hasIncrementalUpdates;
/**
* Gets the value of the hasIncrementalUpdates property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHasIncrementalUpdates() {
return hasIncrementalUpdates;
}
/**
* Sets the value of the hasIncrementalUpdates property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHasIncrementalUpdates(Boolean value) {
this.hasIncrementalUpdates = value;
}
public DataObjectServiceCapabilitiesStructure.SubscriptionPolicy withHasIncrementalUpdates(Boolean value) {
setHasIncrementalUpdates(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
/**
* 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="FilterByFrame" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"filterByFrame"
})
public static class TopicFiltering {
@XmlElement(name = "FilterByFrame", defaultValue = "true")
protected Boolean filterByFrame;
/**
* Gets the value of the filterByFrame property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFilterByFrame() {
return filterByFrame;
}
/**
* Sets the value of the filterByFrame property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setFilterByFrame(Boolean value) {
this.filterByFrame = value;
}
public DataObjectServiceCapabilitiesStructure.TopicFiltering withFilterByFrame(Boolean value) {
setFilterByFrame(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
}