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

uk.org.siri.siri20.SituationExchangeDeliveryStructure 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.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.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Type for Delivery for Situation Exchange Service. Provides information about one or more vehicles; each has its own VEHICLE activity element.
 * 
 * 

Java class for SituationExchangeDeliveryStructure complex type. * *

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

 * <complexType name="SituationExchangeDeliveryStructure">
 *   <complexContent>
 *     <extension base="{http://www.siri.org.uk/siri}AbstractServiceDeliveryStructure">
 *       <sequence>
 *         <group ref="{http://www.siri.org.uk/siri}SituationExchangePayloadGroup"/>
 *         <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 = "SituationExchangeDeliveryStructure", propOrder = { "ptSituationContext", "situations", "extensions" }) public class SituationExchangeDeliveryStructure extends AbstractServiceDeliveryStructure implements Serializable { @XmlElement(name = "PtSituationContext") protected ContextStructure ptSituationContext; @XmlElement(name = "Situations") protected SituationExchangeDeliveryStructure.Situations situations; @XmlElement(name = "Extensions") protected Extensions extensions; @XmlAttribute(name = "version") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String version; /** * Gets the value of the ptSituationContext property. * * @return * possible object is * {@link ContextStructure } * */ public ContextStructure getPtSituationContext() { return ptSituationContext; } /** * Sets the value of the ptSituationContext property. * * @param value * allowed object is * {@link ContextStructure } * */ public void setPtSituationContext(ContextStructure value) { this.ptSituationContext = value; } /** * Gets the value of the situations property. * * @return * possible object is * {@link SituationExchangeDeliveryStructure.Situations } * */ public SituationExchangeDeliveryStructure.Situations getSituations() { return situations; } /** * Sets the value of the situations property. * * @param value * allowed object is * {@link SituationExchangeDeliveryStructure.Situations } * */ public void setSituations(SituationExchangeDeliveryStructure.Situations value) { this.situations = 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="PtSituationElement" type="{http://www.siri.org.uk/siri}PtSituationElementStructure" maxOccurs="unbounded" minOccurs="0"/>
     *         <element ref="{http://www.siri.org.uk/siri}RoadSituationElement" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "ptSituationElements", "roadSituationElements" }) public static class Situations implements Serializable { @XmlElement(name = "PtSituationElement") protected List ptSituationElements; @XmlElement(name = "RoadSituationElement") protected List roadSituationElements; /** * Gets the value of the ptSituationElements 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 ptSituationElements property. * *

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

         *    getPtSituationElements().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PtSituationElement } * * */ public List getPtSituationElements() { if (ptSituationElements == null) { ptSituationElements = new ArrayList(); } return this.ptSituationElements; } /** * Gets the value of the roadSituationElements 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 roadSituationElements property. * *

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

         *    getRoadSituationElements().add(newItem);
         * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy