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

uk.org.siri.siri20.EstimatedTimetableRequestStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:39 PM UTC 
//


package uk.org.siri.siri20;

import java.io.Serializable;
import java.time.Duration;
import java.util.ArrayList;
import java.util.List;
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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.entur.siri.adapter.DurationXmlAdapter;


/**
 * Type for Type for Functional Service Request for Estimated Timetable.
 * 
 * 

Java class for EstimatedTimetableRequestStructure complex type. * *

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

 * <complexType name="EstimatedTimetableRequestStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}AbstractFunctionalServiceRequestStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}EstimatedTimetableTopicGroup"/>
 *         <group ref="{http://www.siri.org.uk/siri}EstimatedTimetableRequestPolicyGroup"/>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="version" type="{http://www.siri.org.uk/siri}VersionString" default="2.0" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EstimatedTimetableRequestStructure", propOrder = { "previewInterval", "timetableVersionRef", "operatorReves", "lines", "language", "includeTranslations", "estimatedTimetableDetailLevel", "extensions" }) public class EstimatedTimetableRequestStructure extends AbstractFunctionalServiceRequestStructure implements Serializable { @XmlElement(name = "PreviewInterval", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration previewInterval; @XmlElement(name = "TimetableVersionRef") protected VersionRefStructure timetableVersionRef; @XmlElement(name = "OperatorRef") protected List operatorReves; @XmlElement(name = "Lines") protected EstimatedTimetableRequestStructure.Lines lines; @XmlElement(name = "Language", defaultValue = "en") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String language; @XmlElement(name = "IncludeTranslations") protected Boolean includeTranslations; @XmlElement(name = "EstimatedTimetableDetailLevel", defaultValue = "calls") @XmlSchemaType(name = "NMTOKEN") protected EstimatedTimetableDetailEnumeration estimatedTimetableDetailLevel; @XmlElement(name = "Extensions") protected Extensions extensions; @XmlAttribute(name = "version") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String version; /** * Gets the value of the previewInterval property. * * @return * possible object is * {@link String } * */ public Duration getPreviewInterval() { return previewInterval; } /** * Sets the value of the previewInterval property. * * @param value * allowed object is * {@link String } * */ public void setPreviewInterval(Duration value) { this.previewInterval = value; } /** * Gets the value of the timetableVersionRef property. * * @return * possible object is * {@link VersionRefStructure } * */ public VersionRefStructure getTimetableVersionRef() { return timetableVersionRef; } /** * Sets the value of the timetableVersionRef property. * * @param value * allowed object is * {@link VersionRefStructure } * */ public void setTimetableVersionRef(VersionRefStructure value) { this.timetableVersionRef = value; } /** * Gets the value of the operatorReves 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 Jakarta XML Binding object. * This is why there is not a set method for the operatorReves property. * *

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

     *    getOperatorReves().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OperatorRefStructure } * * */ public List getOperatorReves() { if (operatorReves == null) { operatorReves = new ArrayList(); } return this.operatorReves; } /** * Gets the value of the lines property. * * @return * possible object is * {@link EstimatedTimetableRequestStructure.Lines } * */ public EstimatedTimetableRequestStructure.Lines getLines() { return lines; } /** * Sets the value of the lines property. * * @param value * allowed object is * {@link EstimatedTimetableRequestStructure.Lines } * */ public void setLines(EstimatedTimetableRequestStructure.Lines value) { this.lines = value; } /** * Gets the value of the language property. * * @return * possible object is * {@link String } * */ public String getLanguage() { return language; } /** * Sets the value of the language property. * * @param value * allowed object is * {@link String } * */ public void setLanguage(String value) { this.language = value; } /** * Gets the value of the includeTranslations property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIncludeTranslations() { return includeTranslations; } /** * Sets the value of the includeTranslations property. * * @param value * allowed object is * {@link Boolean } * */ public void setIncludeTranslations(Boolean value) { this.includeTranslations = value; } /** * Gets the value of the estimatedTimetableDetailLevel property. * * @return * possible object is * {@link EstimatedTimetableDetailEnumeration } * */ public EstimatedTimetableDetailEnumeration getEstimatedTimetableDetailLevel() { return estimatedTimetableDetailLevel; } /** * Sets the value of the estimatedTimetableDetailLevel property. * * @param value * allowed object is * {@link EstimatedTimetableDetailEnumeration } * */ public void setEstimatedTimetableDetailLevel(EstimatedTimetableDetailEnumeration value) { this.estimatedTimetableDetailLevel = value; } /** * Gets the value of the extensions property. * * @return * possible object is * {@link Extensions } * */ public Extensions getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value * allowed object is * {@link Extensions } * */ public void setExtensions(Extensions value) { this.extensions = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { if (version == null) { return "2.0"; } else { return version; } } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="LineDirection" type="{http://www.siri.org.uk/siri}LineDirectionStructure" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "lineDirections" }) public static class Lines implements Serializable { @XmlElement(name = "LineDirection", required = true) protected List lineDirections; /** * Gets the value of the lineDirections 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 Jakarta XML Binding object. * This is why there is not a set method for the lineDirections property. * *

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

         *    getLineDirections().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LineDirectionStructure } * * */ public List getLineDirections() { if (lineDirections == null) { lineDirections = new ArrayList(); } return this.lineDirections; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy