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

uk.org.siri.siri20.ContextStructure 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.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 uk.org.ifopt.siri20.CountryRefStructure;


/**
 * Common parameters for all SITUATIONs.
 * 
 * 

Java class for ContextStructure complex type. * *

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

 * <complexType name="ContextStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="CountryRef" type="{http://www.ifopt.org.uk/ifopt}CountryRefStructure" minOccurs="0"/>
 *         <element name="ParticipantRef" type="{http://www.siri.org.uk/siri}ParticipantRefStructure"/>
 *         <element name="TopographicPlaceRef" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
 *         <element name="TopographicPlaceName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="DefaultLanguage" type="{http://www.w3.org/2001/XMLSchema}language" minOccurs="0"/>
 *         <element name="NetworkContext" type="{http://www.siri.org.uk/siri}NetworkContextStructure" minOccurs="0"/>
 *         <element name="Actions" type="{http://www.siri.org.uk/siri}ActionsStructure" minOccurs="0"/>
 *         <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ContextStructure", propOrder = { "countryRef", "participantRef", "topographicPlaceRef", "topographicPlaceNames", "defaultLanguage", "networkContext", "actions", "extensions" }) public class ContextStructure implements Serializable { @XmlElement(name = "CountryRef") protected CountryRefStructure countryRef; @XmlElement(name = "ParticipantRef", required = true) protected RequestorRef participantRef; @XmlElement(name = "TopographicPlaceRef") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String topographicPlaceRef; @XmlElement(name = "TopographicPlaceName") protected List topographicPlaceNames; @XmlElement(name = "DefaultLanguage") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String defaultLanguage; @XmlElement(name = "NetworkContext") protected NetworkContextStructure networkContext; @XmlElement(name = "Actions") protected ActionsStructure actions; @XmlElement(name = "Extensions") protected Extensions extensions; /** * Gets the value of the countryRef property. * * @return * possible object is * {@link CountryRefStructure } * */ public CountryRefStructure getCountryRef() { return countryRef; } /** * Sets the value of the countryRef property. * * @param value * allowed object is * {@link CountryRefStructure } * */ public void setCountryRef(CountryRefStructure value) { this.countryRef = value; } /** * Gets the value of the participantRef property. * * @return * possible object is * {@link RequestorRef } * */ public RequestorRef getParticipantRef() { return participantRef; } /** * Sets the value of the participantRef property. * * @param value * allowed object is * {@link RequestorRef } * */ public void setParticipantRef(RequestorRef value) { this.participantRef = value; } /** * Gets the value of the topographicPlaceRef property. * * @return * possible object is * {@link String } * */ public String getTopographicPlaceRef() { return topographicPlaceRef; } /** * Sets the value of the topographicPlaceRef property. * * @param value * allowed object is * {@link String } * */ public void setTopographicPlaceRef(String value) { this.topographicPlaceRef = value; } /** * Gets the value of the topographicPlaceNames 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 topographicPlaceNames property. * *

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

     *    getTopographicPlaceNames().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } * * */ public List getTopographicPlaceNames() { if (topographicPlaceNames == null) { topographicPlaceNames = new ArrayList(); } return this.topographicPlaceNames; } /** * Gets the value of the defaultLanguage property. * * @return * possible object is * {@link String } * */ public String getDefaultLanguage() { return defaultLanguage; } /** * Sets the value of the defaultLanguage property. * * @param value * allowed object is * {@link String } * */ public void setDefaultLanguage(String value) { this.defaultLanguage = value; } /** * Gets the value of the networkContext property. * * @return * possible object is * {@link NetworkContextStructure } * */ public NetworkContextStructure getNetworkContext() { return networkContext; } /** * Sets the value of the networkContext property. * * @param value * allowed object is * {@link NetworkContextStructure } * */ public void setNetworkContext(NetworkContextStructure value) { this.networkContext = value; } /** * Gets the value of the actions property. * * @return * possible object is * {@link ActionsStructure } * */ public ActionsStructure getActions() { return actions; } /** * Sets the value of the actions property. * * @param value * allowed object is * {@link ActionsStructure } * */ public void setActions(ActionsStructure value) { this.actions = 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; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy