org.rutebanken.netex.model.DataObjectRequestStructure 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import uk.org.siri.siri.AbstractFunctionalServiceRequestStructure;
import uk.org.siri.siri.ExtensionsStructure;
import uk.org.siri.siri.MessageQualifierStructure;
/**
* Java class for DataObjectRequestStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataObjectRequestStructure">
* <complexContent>
* <extension base="{http://www.siri.org.uk/siri}AbstractFunctionalServiceRequestStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DataObjectRequestGroup"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataObjectRequestStructure", propOrder = {
"topics",
"policy",
"extensions"
})
public class DataObjectRequestStructure
extends AbstractFunctionalServiceRequestStructure
{
@XmlElement(required = true)
protected DataObjectRequestStructure.Topics topics;
@XmlElement(name = "Policy")
protected NetworkFrameRequestPolicyStructure policy;
@XmlElement(name = "Extensions", namespace = "http://www.siri.org.uk/siri")
protected ExtensionsStructure extensions;
/**
* Gets the value of the topics property.
*
* @return
* possible object is
* {@link DataObjectRequestStructure.Topics }
*
*/
public DataObjectRequestStructure.Topics getTopics() {
return topics;
}
/**
* Sets the value of the topics property.
*
* @param value
* allowed object is
* {@link DataObjectRequestStructure.Topics }
*
*/
public void setTopics(DataObjectRequestStructure.Topics value) {
this.topics = value;
}
/**
* Gets the value of the policy property.
*
* @return
* possible object is
* {@link NetworkFrameRequestPolicyStructure }
*
*/
public NetworkFrameRequestPolicyStructure getPolicy() {
return policy;
}
/**
* Sets the value of the policy property.
*
* @param value
* allowed object is
* {@link NetworkFrameRequestPolicyStructure }
*
*/
public void setPolicy(NetworkFrameRequestPolicyStructure value) {
this.policy = 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;
}
public DataObjectRequestStructure withTopics(DataObjectRequestStructure.Topics value) {
setTopics(value);
return this;
}
public DataObjectRequestStructure withPolicy(NetworkFrameRequestPolicyStructure value) {
setPolicy(value);
return this;
}
public DataObjectRequestStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public DataObjectRequestStructure withMessageIdentifier(MessageQualifierStructure value) {
setMessageIdentifier(value);
return this;
}
@Override
public DataObjectRequestStructure withRequestTimestamp(OffsetDateTime value) {
setRequestTimestamp(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 ref="{http://www.netex.org.uk/netex}NetworkFrameTopic"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"networkFrameTopic"
})
public static class Topics {
@XmlElement(name = "NetworkFrameTopic", required = true)
protected NetworkFrameTopic networkFrameTopic;
/**
* Gets the value of the networkFrameTopic property.
*
* @return
* possible object is
* {@link NetworkFrameTopic }
*
*/
public NetworkFrameTopic getNetworkFrameTopic() {
return networkFrameTopic;
}
/**
* Sets the value of the networkFrameTopic property.
*
* @param value
* allowed object is
* {@link NetworkFrameTopic }
*
*/
public void setNetworkFrameTopic(NetworkFrameTopic value) {
this.networkFrameTopic = value;
}
public DataObjectRequestStructure.Topics withNetworkFrameTopic(NetworkFrameTopic value) {
setNetworkFrameTopic(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