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

de.vdv.ojp20.siri.ServiceDeliveryStructure 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 de.vdv.ojp20.OJPAvailabilityDeliveryStructure;
import de.vdv.ojp20.OJPErrorStructure;
import de.vdv.ojp20.OJPExchangePointsDeliveryStructure;
import de.vdv.ojp20.OJPFareDeliveryStructure;
import de.vdv.ojp20.OJPLineInformationDeliveryStructure;
import de.vdv.ojp20.OJPLocationInformationDeliveryStructure;
import de.vdv.ojp20.OJPMultiPointTripDeliveryStructure;
import de.vdv.ojp20.OJPStatusDeliveryStructure;
import de.vdv.ojp20.OJPStopEventDeliveryStructure;
import de.vdv.ojp20.OJPTripChangeDeliveryStructure;
import de.vdv.ojp20.OJPTripDeliveryStructure;
import de.vdv.ojp20.OJPTripInfoDeliveryStructure;
import de.vdv.ojp20.OJPTripRefineDeliveryStructure;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;


/**
 * 

Java class for ServiceDeliveryStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ServiceDeliveryStructure", propOrder = { "status", "errorCondition", "moreData", "abstractFunctionalServiceDelivery" }) @XmlSeeAlso({ ServiceDelivery.class }) public class ServiceDeliveryStructure extends ProducerResponseStructure { @XmlElement(name = "Status", defaultValue = "true") protected Boolean status; @XmlElement(name = "ErrorCondition") protected ServiceDeliveryStructure.ErrorCondition errorCondition; @XmlElement(name = "MoreData", defaultValue = "false") protected Boolean moreData; @XmlElementRef(name = "AbstractFunctionalServiceDelivery", namespace = "http://www.siri.org.uk/siri", type = JAXBElement.class) protected List> abstractFunctionalServiceDelivery; @XmlAttribute(name = "srsName") protected String srsName; /** * Gets the value of the status property. * * @return * possible object is * {@link Boolean } * */ public Boolean isStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link Boolean } * */ public void setStatus(Boolean value) { this.status = value; } /** * Gets the value of the errorCondition property. * * @return * possible object is * {@link ServiceDeliveryStructure.ErrorCondition } * */ public ServiceDeliveryStructure.ErrorCondition getErrorCondition() { return errorCondition; } /** * Sets the value of the errorCondition property. * * @param value * allowed object is * {@link ServiceDeliveryStructure.ErrorCondition } * */ public void setErrorCondition(ServiceDeliveryStructure.ErrorCondition value) { this.errorCondition = value; } /** * Gets the value of the moreData property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMoreData() { return moreData; } /** * Sets the value of the moreData property. * * @param value * allowed object is * {@link Boolean } * */ public void setMoreData(Boolean value) { this.moreData = value; } /** * Gets the value of the abstractFunctionalServiceDelivery 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 abstractFunctionalServiceDelivery property.

* *

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

*
     * getAbstractFunctionalServiceDelivery().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link OJPAvailabilityDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPExchangePointsDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPFareDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPLineInformationDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPLocationInformationDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPMultiPointTripDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPStatusDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPStopEventDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPTripChangeDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPTripDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPTripInfoDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link OJPTripRefineDeliveryStructure }{@code >} * {@link JAXBElement }{@code <}{@link AbstractServiceDeliveryStructure }{@code >} *

* * * @return * The value of the abstractFunctionalServiceDelivery property. */ public List> getAbstractFunctionalServiceDelivery() { if (abstractFunctionalServiceDelivery == null) { abstractFunctionalServiceDelivery = new ArrayList<>(); } return this.abstractFunctionalServiceDelivery; } /** * Gets the value of the srsName property. * * @return * possible object is * {@link String } * */ public String getSrsName() { return srsName; } /** * Sets the value of the srsName property. * * @param value * allowed object is * {@link String } * */ public void setSrsName(String value) { this.srsName = value; } public ServiceDeliveryStructure withStatus(Boolean value) { setStatus(value); return this; } public ServiceDeliveryStructure withErrorCondition(ServiceDeliveryStructure.ErrorCondition value) { setErrorCondition(value); return this; } public ServiceDeliveryStructure withMoreData(Boolean value) { setMoreData(value); return this; } public ServiceDeliveryStructure withAbstractFunctionalServiceDelivery(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getAbstractFunctionalServiceDelivery().add(value); } } return this; } public ServiceDeliveryStructure withAbstractFunctionalServiceDelivery(Collection> values) { if (values!= null) { getAbstractFunctionalServiceDelivery().addAll(values); } return this; } public ServiceDeliveryStructure withSrsName(String value) { setSrsName(value); return this; } @Override public ServiceDeliveryStructure withProducerRef(ParticipantRefStructure value) { setProducerRef(value); return this; } @Override public ServiceDeliveryStructure withAddress(String value) { setAddress(value); return this; } @Override public ServiceDeliveryStructure withResponseMessageIdentifier(MessageQualifierStructure value) { setResponseMessageIdentifier(value); return this; } @Override public ServiceDeliveryStructure withRequestMessageRef(MessageRefStructure value) { setRequestMessageRef(value); return this; } @Override public ServiceDeliveryStructure withDelegatorAddress(String value) { setDelegatorAddress(value); return this; } @Override public ServiceDeliveryStructure withDelegatorRef(ParticipantRefStructure value) { setDelegatorRef(value); return this; } @Override public ServiceDeliveryStructure 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); } /** *

Java class for anonymous complex type

. * *

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

* *
{@code
     * 
     *   
     *     
     *       
     *         
     *           
     *           
     *         
     *         
     *       
     *     
     *   
     * 
     * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "capabilityNotSupportedError", "otherError", "description" }) public static class ErrorCondition { @XmlElement(name = "CapabilityNotSupportedError") protected CapabilityNotSupportedErrorStructure capabilityNotSupportedError; @XmlElementRef(name = "OtherError", namespace = "http://www.siri.org.uk/siri", type = JAXBElement.class, required = false) protected JAXBElement otherError; @XmlElement(name = "Description") protected ErrorDescriptionStructure description; /** * Gets the value of the capabilityNotSupportedError property. * * @return * possible object is * {@link CapabilityNotSupportedErrorStructure } * */ public CapabilityNotSupportedErrorStructure getCapabilityNotSupportedError() { return capabilityNotSupportedError; } /** * Sets the value of the capabilityNotSupportedError property. * * @param value * allowed object is * {@link CapabilityNotSupportedErrorStructure } * */ public void setCapabilityNotSupportedError(CapabilityNotSupportedErrorStructure value) { this.capabilityNotSupportedError = value; } /** * Gets the value of the otherError property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link OJPErrorStructure }{@code >} * {@link JAXBElement }{@code <}{@link OtherErrorStructure }{@code >} * */ public JAXBElement getOtherError() { return otherError; } /** * Sets the value of the otherError property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link OJPErrorStructure }{@code >} * {@link JAXBElement }{@code <}{@link OtherErrorStructure }{@code >} * */ public void setOtherError(JAXBElement value) { this.otherError = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link ErrorDescriptionStructure } * */ public ErrorDescriptionStructure getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link ErrorDescriptionStructure } * */ public void setDescription(ErrorDescriptionStructure value) { this.description = value; } public ServiceDeliveryStructure.ErrorCondition withCapabilityNotSupportedError(CapabilityNotSupportedErrorStructure value) { setCapabilityNotSupportedError(value); return this; } public ServiceDeliveryStructure.ErrorCondition withOtherError(JAXBElement value) { setOtherError(value); return this; } public ServiceDeliveryStructure.ErrorCondition withDescription(ErrorDescriptionStructure value) { setDescription(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