All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.org.siri.siri.SubscriptionRequestStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// 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 uk.org.siri.siri;

import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.netex.model.DataObjectSubscriptionStructure;


/**
 * 

Java class for SubscriptionRequestStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SubscriptionRequestStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}AbstractSubscriptionRequestStructure">
 *       <sequence>
 *         <element ref="{http://www.siri.org.uk/siri}AbstractFunctionalServiceSubscriptionRequest" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SubscriptionRequestStructure", propOrder = { "abstractFunctionalServiceSubscriptionRequest" }) @XmlSeeAlso({ SubscriptionRequest.class }) public class SubscriptionRequestStructure extends AbstractSubscriptionRequestStructure { @XmlElementRef(name = "AbstractFunctionalServiceSubscriptionRequest", namespace = "http://www.siri.org.uk/siri", type = JAXBElement.class) protected List> abstractFunctionalServiceSubscriptionRequest; /** * Gets the value of the abstractFunctionalServiceSubscriptionRequest property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the abstractFunctionalServiceSubscriptionRequest property. * *

* For example, to add a new item, do as follows: *

     *    getAbstractFunctionalServiceSubscriptionRequest().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link DataObjectSubscriptionStructure }{@code >} * {@link JAXBElement }{@code <}{@link AbstractSubscriptionStructure }{@code >} * * */ public List> getAbstractFunctionalServiceSubscriptionRequest() { if (abstractFunctionalServiceSubscriptionRequest == null) { abstractFunctionalServiceSubscriptionRequest = new ArrayList>(); } return this.abstractFunctionalServiceSubscriptionRequest; } public SubscriptionRequestStructure withAbstractFunctionalServiceSubscriptionRequest(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getAbstractFunctionalServiceSubscriptionRequest().add(value); } } return this; } public SubscriptionRequestStructure withAbstractFunctionalServiceSubscriptionRequest(Collection> values) { if (values!= null) { getAbstractFunctionalServiceSubscriptionRequest().addAll(values); } return this; } @Override public SubscriptionRequestStructure withConsumerAddress(String value) { setConsumerAddress(value); return this; } @Override public SubscriptionRequestStructure withSubscriptionFilterIdentifier(String value) { setSubscriptionFilterIdentifier(value); return this; } @Override public SubscriptionRequestStructure withSubscriptionContext(SubscriptionContextStructure value) { setSubscriptionContext(value); return this; } @Override public SubscriptionRequestStructure withAddress(String value) { setAddress(value); return this; } @Override public SubscriptionRequestStructure withRequestorRef(ParticipantRefStructure value) { setRequestorRef(value); return this; } @Override public SubscriptionRequestStructure withMessageIdentifier(MessageQualifierStructure value) { setMessageIdentifier(value); return this; } @Override public SubscriptionRequestStructure withDelegatorAddress(String value) { setDelegatorAddress(value); return this; } @Override public SubscriptionRequestStructure withDelegatorRef(ParticipantRefStructure value) { setDelegatorRef(value); return this; } @Override public SubscriptionRequestStructure withAccountId(String value) { setAccountId(value); return this; } @Override public SubscriptionRequestStructure withAccountKey(String value) { setAccountKey(value); return this; } @Override public SubscriptionRequestStructure 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); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy