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

de.vdv.ojp20.siri.SubscriptionResponseStructure Maven / Gradle / Ivy

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 java.util.ArrayList;
import java.util.Collection;
import java.util.List;
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.XmlType;
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;
import org.opentripplanner.ojp.util.XmlDateTimeAdapter;


/**
 * 

Java class for SubscriptionResponseStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SubscriptionResponseStructure", propOrder = { "responseStatus", "subscriptionManagerAddress", "serviceStartedTime", "extensions" }) public class SubscriptionResponseStructure extends ResponseEndpointStructure { @XmlElement(name = "ResponseStatus", required = true) protected List responseStatus; @XmlElement(name = "SubscriptionManagerAddress") @XmlSchemaType(name = "anyURI") protected String subscriptionManagerAddress; @XmlElement(name = "ServiceStartedTime", type = String.class) @XmlJavaTypeAdapter(XmlDateTimeAdapter.class) @XmlSchemaType(name = "dateTime") protected XmlDateTime serviceStartedTime; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * Gets the value of the responseStatus 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 responseStatus property.

* *

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

*
     * getResponseStatus().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StatusResponseStructure } *

* * * @return * The value of the responseStatus property. */ public List getResponseStatus() { if (responseStatus == null) { responseStatus = new ArrayList<>(); } return this.responseStatus; } /** * Gets the value of the subscriptionManagerAddress property. * * @return * possible object is * {@link String } * */ public String getSubscriptionManagerAddress() { return subscriptionManagerAddress; } /** * Sets the value of the subscriptionManagerAddress property. * * @param value * allowed object is * {@link String } * */ public void setSubscriptionManagerAddress(String value) { this.subscriptionManagerAddress = value; } /** * Gets the value of the serviceStartedTime property. * * @return * possible object is * {@link String } * */ public XmlDateTime getServiceStartedTime() { return serviceStartedTime; } /** * Sets the value of the serviceStartedTime property. * * @param value * allowed object is * {@link String } * */ public void setServiceStartedTime(XmlDateTime value) { this.serviceStartedTime = 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 SubscriptionResponseStructure withResponseStatus(StatusResponseStructure... values) { if (values!= null) { for (StatusResponseStructure value: values) { getResponseStatus().add(value); } } return this; } public SubscriptionResponseStructure withResponseStatus(Collection values) { if (values!= null) { getResponseStatus().addAll(values); } return this; } public SubscriptionResponseStructure withSubscriptionManagerAddress(String value) { setSubscriptionManagerAddress(value); return this; } public SubscriptionResponseStructure withServiceStartedTime(XmlDateTime value) { setServiceStartedTime(value); return this; } public SubscriptionResponseStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public SubscriptionResponseStructure withAddress(String value) { setAddress(value); return this; } @Override public SubscriptionResponseStructure withResponderRef(ParticipantRefStructure value) { setResponderRef(value); return this; } @Override public SubscriptionResponseStructure withRequestMessageRef(MessageRefStructure value) { setRequestMessageRef(value); return this; } @Override public SubscriptionResponseStructure withDelegatorAddress(String value) { setDelegatorAddress(value); return this; } @Override public SubscriptionResponseStructure withDelegatorRef(ParticipantRefStructure value) { setDelegatorRef(value); return this; } @Override public SubscriptionResponseStructure withResponseTimestamp(XmlDateTime 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 - 2025 Weber Informatics LLC | Privacy Policy