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

de.vdv.ojp20.OJPLineInformationDeliveryStructure 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;

import java.time.Duration;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import de.vdv.ojp20.siri.AbstractServiceDeliveryStructure;
import de.vdv.ojp20.siri.ExtensionsStructure;
import de.vdv.ojp20.siri.MessageRefStructure;
import de.vdv.ojp20.siri.ParticipantRefStructure;
import de.vdv.ojp20.siri.ServiceDeliveryErrorConditionStructure;
import de.vdv.ojp20.siri.SubscriptionFilterRefStructure;
import de.vdv.ojp20.siri.SubscriptionRefStructure;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
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 OJPLineInformationDeliveryStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OJPLineInformationDeliveryStructure", propOrder = { "ojpLineInformationRequest", "lineResult", "extensions" }) public class OJPLineInformationDeliveryStructure extends AbstractServiceDeliveryStructure { /** * The service provides route information about a given LINE. This helps when displaying the LINE on maps. This implements a small part of model PI QR Schedule Request of TM 6. * */ @XmlElement(name = "OJPLineInformationRequest") protected OJPLineInformationRequestStructure ojpLineInformationRequest; @XmlElement(name = "LineResult") protected List lineResult; @XmlElement(name = "Extensions", namespace = "http://www.siri.org.uk/siri") protected ExtensionsStructure extensions; /** * The service provides route information about a given LINE. This helps when displaying the LINE on maps. This implements a small part of model PI QR Schedule Request of TM 6. * * @return * possible object is * {@link OJPLineInformationRequestStructure } * */ public OJPLineInformationRequestStructure getOJPLineInformationRequest() { return ojpLineInformationRequest; } /** * Sets the value of the ojpLineInformationRequest property. * * @param value * allowed object is * {@link OJPLineInformationRequestStructure } * * @see #getOJPLineInformationRequest() */ public void setOJPLineInformationRequest(OJPLineInformationRequestStructure value) { this.ojpLineInformationRequest = value; } /** * Gets the value of the lineResult 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 lineResult property.

* *

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

*
     * getLineResult().add(newItem);
     * 
* * *

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

* * * @return * The value of the lineResult property. */ public List getLineResult() { if (lineResult == null) { lineResult = new ArrayList<>(); } return this.lineResult; } /** * 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 OJPLineInformationDeliveryStructure withOJPLineInformationRequest(OJPLineInformationRequestStructure value) { setOJPLineInformationRequest(value); return this; } public OJPLineInformationDeliveryStructure withLineResult(LineResultStructure... values) { if (values!= null) { for (LineResultStructure value: values) { getLineResult().add(value); } } return this; } public OJPLineInformationDeliveryStructure withLineResult(Collection values) { if (values!= null) { getLineResult().addAll(values); } return this; } public OJPLineInformationDeliveryStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public OJPLineInformationDeliveryStructure withRequestMessageRef(MessageRefStructure value) { setRequestMessageRef(value); return this; } @Override public OJPLineInformationDeliveryStructure withSubscriberRef(ParticipantRefStructure value) { setSubscriberRef(value); return this; } @Override public OJPLineInformationDeliveryStructure withSubscriptionFilterRef(SubscriptionFilterRefStructure value) { setSubscriptionFilterRef(value); return this; } @Override public OJPLineInformationDeliveryStructure withSubscriptionRef(SubscriptionRefStructure value) { setSubscriptionRef(value); return this; } @Override public OJPLineInformationDeliveryStructure withDelegatorAddress(String value) { setDelegatorAddress(value); return this; } @Override public OJPLineInformationDeliveryStructure withDelegatorRef(ParticipantRefStructure value) { setDelegatorRef(value); return this; } @Override public OJPLineInformationDeliveryStructure withStatus(Boolean value) { setStatus(value); return this; } @Override public OJPLineInformationDeliveryStructure withErrorCondition(ServiceDeliveryErrorConditionStructure value) { setErrorCondition(value); return this; } @Override public OJPLineInformationDeliveryStructure withValidUntil(XmlDateTime value) { setValidUntil(value); return this; } @Override public OJPLineInformationDeliveryStructure withShortestPossibleCycle(Duration value) { setShortestPossibleCycle(value); return this; } @Override public OJPLineInformationDeliveryStructure withDefaultLanguage(String value) { setDefaultLanguage(value); return this; } @Override public OJPLineInformationDeliveryStructure 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