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

de.vdv.ojp20.siri.ServiceDeliveryBodyStructure 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.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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * 

Java class for ServiceDeliveryBodyStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ServiceDeliveryBodyStructure", propOrder = { "status", "errorCondition", "moreData", "abstractFunctionalServiceDelivery" }) public class ServiceDeliveryBodyStructure { @XmlElement(name = "Status", defaultValue = "true") protected Boolean status; @XmlElement(name = "ErrorCondition") protected de.vdv.ojp20.siri.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 de.vdv.ojp20.siri.ServiceDeliveryStructure.ErrorCondition } * */ public de.vdv.ojp20.siri.ServiceDeliveryStructure.ErrorCondition getErrorCondition() { return errorCondition; } /** * Sets the value of the errorCondition property. * * @param value * allowed object is * {@link de.vdv.ojp20.siri.ServiceDeliveryStructure.ErrorCondition } * */ public void setErrorCondition(de.vdv.ojp20.siri.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 ServiceDeliveryBodyStructure withStatus(Boolean value) { setStatus(value); return this; } public ServiceDeliveryBodyStructure withErrorCondition(de.vdv.ojp20.siri.ServiceDeliveryStructure.ErrorCondition value) { setErrorCondition(value); return this; } public ServiceDeliveryBodyStructure withMoreData(Boolean value) { setMoreData(value); return this; } public ServiceDeliveryBodyStructure withAbstractFunctionalServiceDelivery(JAXBElement ... values) { if (values!= null) { for (JAXBElement value: values) { getAbstractFunctionalServiceDelivery().add(value); } } return this; } public ServiceDeliveryBodyStructure withAbstractFunctionalServiceDelivery(Collection> values) { if (values!= null) { getAbstractFunctionalServiceDelivery().addAll(values); } return this; } public ServiceDeliveryBodyStructure withSrsName(String value) { setSrsName(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