org.rutebanken.netex.model.DataObjectCapabilitiesResponseStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// 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.time.OffsetDateTime;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import uk.org.siri.siri.AbstractServiceCapabilitiesResponseStructure;
import uk.org.siri.siri.MessageQualifierStructure;
import uk.org.siri.siri.ParticipantRefStructure;
import uk.org.siri.siri.ServiceDeliveryErrorConditionStructure;
/**
* Java class for DataObjectCapabilitiesResponseStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataObjectCapabilitiesResponseStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractServiceCapabilitiesResponseStructure">
* <sequence>
* <element ref="{http://www.netex.org.uk/netex}DataObjectServiceCapabilities" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}DataObjectPermissions" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}Extensions" minOccurs="0"/>
* </sequence>
* <attribute name="version" type="{http://www.siri.org.uk/siri}VersionString" default="2.0" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataObjectCapabilitiesResponseStructure", propOrder = {
"dataObjectServiceCapabilities",
"dataObjectPermissions",
"extensions"
})
public class DataObjectCapabilitiesResponseStructure
extends AbstractServiceCapabilitiesResponseStructure
{
@XmlElement(name = "DataObjectServiceCapabilities")
protected DataObjectServiceCapabilitiesStructure dataObjectServiceCapabilities;
@XmlElement(name = "DataObjectPermissions")
protected DataObjectPermissions dataObjectPermissions;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
@XmlAttribute(name = "version")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String version;
/**
* Gets the value of the dataObjectServiceCapabilities property.
*
* @return
* possible object is
* {@link DataObjectServiceCapabilitiesStructure }
*
*/
public DataObjectServiceCapabilitiesStructure getDataObjectServiceCapabilities() {
return dataObjectServiceCapabilities;
}
/**
* Sets the value of the dataObjectServiceCapabilities property.
*
* @param value
* allowed object is
* {@link DataObjectServiceCapabilitiesStructure }
*
*/
public void setDataObjectServiceCapabilities(DataObjectServiceCapabilitiesStructure value) {
this.dataObjectServiceCapabilities = value;
}
/**
* Gets the value of the dataObjectPermissions property.
*
* @return
* possible object is
* {@link DataObjectPermissions }
*
*/
public DataObjectPermissions getDataObjectPermissions() {
return dataObjectPermissions;
}
/**
* Sets the value of the dataObjectPermissions property.
*
* @param value
* allowed object is
* {@link DataObjectPermissions }
*
*/
public void setDataObjectPermissions(DataObjectPermissions value) {
this.dataObjectPermissions = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
if (version == null) {
return "2.0";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
public DataObjectCapabilitiesResponseStructure withDataObjectServiceCapabilities(DataObjectServiceCapabilitiesStructure value) {
setDataObjectServiceCapabilities(value);
return this;
}
public DataObjectCapabilitiesResponseStructure withDataObjectPermissions(DataObjectPermissions value) {
setDataObjectPermissions(value);
return this;
}
public DataObjectCapabilitiesResponseStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
public DataObjectCapabilitiesResponseStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withRequestMessageRef(MessageQualifierStructure value) {
setRequestMessageRef(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withDelegatorAddress(String value) {
setDelegatorAddress(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withDelegatorRef(ParticipantRefStructure value) {
setDelegatorRef(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withStatus(Boolean value) {
setStatus(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withErrorCondition(ServiceDeliveryErrorConditionStructure value) {
setErrorCondition(value);
return this;
}
@Override
public DataObjectCapabilitiesResponseStructure withResponseTimestamp(OffsetDateTime value) {
setResponseTimestamp(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);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy