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

uk.org.siri.siri21.StopPointsDiscoveryRequestStructure 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:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Requests for stop reference data for use in service requests.
 * 
 * 

Java class for StopPointsDiscoveryRequestStructure complex type. * *

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

 * <complexType name="StopPointsDiscoveryRequestStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}AbstractDiscoveryRequestStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}StopPointsDiscoveryRequestTopicGroup"/>
 *         <group ref="{http://www.siri.org.uk/siri}StopPointsDiscoveryRequestPolicyGroup"/>
 *         <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.1" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StopPointsDiscoveryRequestStructure", propOrder = { "placeRef", "circle", "boundingBox", "operatorRef", "lineRef", "languages", "stopPointsDetailLevel", "extensions" }) @XmlSeeAlso({ StopPointsRequest.class }) public class StopPointsDiscoveryRequestStructure extends AbstractDiscoveryRequestStructure implements Serializable { @XmlElement(name = "PlaceRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String placeRef; @XmlElement(name = "Circle") protected LocationStructure circle; @XmlElement(name = "BoundingBox") protected BoundingBoxStructure boundingBox; @XmlElement(name = "OperatorRef") protected OperatorRefStructure operatorRef; @XmlElement(name = "LineRef") protected LineRef lineRef; @XmlElement(name = "Language", defaultValue = "en") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected List languages; @XmlElement(name = "StopPointsDetailLevel", defaultValue = "normal") @XmlSchemaType(name = "NMTOKEN") protected StopPointsDetailEnumeration stopPointsDetailLevel; @XmlElement(name = "Extensions") protected Extensions extensions; @XmlAttribute(name = "version") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String version; /** * Gets the value of the placeRef property. * * @return * possible object is * {@link String } * */ public String getPlaceRef() { return placeRef; } /** * Sets the value of the placeRef property. * * @param value * allowed object is * {@link String } * */ public void setPlaceRef(String value) { this.placeRef = value; } /** * Gets the value of the circle property. * * @return * possible object is * {@link LocationStructure } * */ public LocationStructure getCircle() { return circle; } /** * Sets the value of the circle property. * * @param value * allowed object is * {@link LocationStructure } * */ public void setCircle(LocationStructure value) { this.circle = value; } /** * Gets the value of the boundingBox property. * * @return * possible object is * {@link BoundingBoxStructure } * */ public BoundingBoxStructure getBoundingBox() { return boundingBox; } /** * Sets the value of the boundingBox property. * * @param value * allowed object is * {@link BoundingBoxStructure } * */ public void setBoundingBox(BoundingBoxStructure value) { this.boundingBox = value; } /** * Gets the value of the operatorRef property. * * @return * possible object is * {@link OperatorRefStructure } * */ public OperatorRefStructure getOperatorRef() { return operatorRef; } /** * Sets the value of the operatorRef property. * * @param value * allowed object is * {@link OperatorRefStructure } * */ public void setOperatorRef(OperatorRefStructure value) { this.operatorRef = value; } /** * Gets the value of the lineRef property. * * @return * possible object is * {@link LineRef } * */ public LineRef getLineRef() { return lineRef; } /** * Sets the value of the lineRef property. * * @param value * allowed object is * {@link LineRef } * */ public void setLineRef(LineRef value) { this.lineRef = value; } /** * Gets the value of the languages 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 languages property. * *

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

     *    getLanguages().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getLanguages() { if (languages == null) { languages = new ArrayList(); } return this.languages; } /** * Gets the value of the stopPointsDetailLevel property. * * @return * possible object is * {@link StopPointsDetailEnumeration } * */ public StopPointsDetailEnumeration getStopPointsDetailLevel() { return stopPointsDetailLevel; } /** * Sets the value of the stopPointsDetailLevel property. * * @param value * allowed object is * {@link StopPointsDetailEnumeration } * */ public void setStopPointsDetailLevel(StopPointsDetailEnumeration value) { this.stopPointsDetailLevel = 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.1"; } 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; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy