
de.vdv.ojp20.siri.AbstractSubscriptionRequestStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;
/**
* Java class for AbstractSubscriptionRequestStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractSubscriptionRequestStructure", propOrder = {
"consumerAddress",
"subscriptionFilterIdentifier",
"subscriptionContext"
})
@XmlSeeAlso({
SubscriptionRequestStructure.class
})
public abstract class AbstractSubscriptionRequestStructure
extends RequestStructure
{
@XmlElement(name = "ConsumerAddress")
@XmlSchemaType(name = "anyURI")
protected String consumerAddress;
@XmlElement(name = "SubscriptionFilterIdentifier")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String subscriptionFilterIdentifier;
@XmlElement(name = "SubscriptionContext")
protected SubscriptionContextStructure subscriptionContext;
/**
* Gets the value of the consumerAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConsumerAddress() {
return consumerAddress;
}
/**
* Sets the value of the consumerAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConsumerAddress(String value) {
this.consumerAddress = value;
}
/**
* Gets the value of the subscriptionFilterIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubscriptionFilterIdentifier() {
return subscriptionFilterIdentifier;
}
/**
* Sets the value of the subscriptionFilterIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubscriptionFilterIdentifier(String value) {
this.subscriptionFilterIdentifier = value;
}
/**
* Gets the value of the subscriptionContext property.
*
* @return
* possible object is
* {@link SubscriptionContextStructure }
*
*/
public SubscriptionContextStructure getSubscriptionContext() {
return subscriptionContext;
}
/**
* Sets the value of the subscriptionContext property.
*
* @param value
* allowed object is
* {@link SubscriptionContextStructure }
*
*/
public void setSubscriptionContext(SubscriptionContextStructure value) {
this.subscriptionContext = value;
}
public AbstractSubscriptionRequestStructure withConsumerAddress(String value) {
setConsumerAddress(value);
return this;
}
public AbstractSubscriptionRequestStructure withSubscriptionFilterIdentifier(String value) {
setSubscriptionFilterIdentifier(value);
return this;
}
public AbstractSubscriptionRequestStructure withSubscriptionContext(SubscriptionContextStructure value) {
setSubscriptionContext(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withAddress(String value) {
setAddress(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withRequestorRef(ParticipantRefStructure value) {
setRequestorRef(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withMessageIdentifier(MessageQualifierStructure value) {
setMessageIdentifier(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withDelegatorAddress(String value) {
setDelegatorAddress(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withDelegatorRef(ParticipantRefStructure value) {
setDelegatorRef(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withAccountId(String value) {
setAccountId(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withAccountKey(String value) {
setAccountKey(value);
return this;
}
@Override
public AbstractSubscriptionRequestStructure withRequestTimestamp(XmlDateTime 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);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy