![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.CapabilityRequestPolicyStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// 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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Type for Common Request Policy capabilities.
*
* Java class for CapabilityRequestPolicyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CapabilityRequestPolicyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="NationalLanguage" type="{http://www.w3.org/2001/XMLSchema}language" maxOccurs="unbounded"/>
* <element name="Translations" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <choice>
* <element name="GmlCoordinateFormat" type="{http://www.siri.org.uk/siri}SrsNameType"/>
* <element name="WgsDecimalDegrees" type="{http://www.siri.org.uk/siri}EmptyType"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CapabilityRequestPolicyStructure", propOrder = {
"nationalLanguages",
"translations",
"wgsDecimalDegrees",
"gmlCoordinateFormat"
})
@XmlSeeAlso({
uk.org.siri.siri20.ProductionTimetableServiceCapabilities.RequestPolicy.class,
uk.org.siri.siri20.EstimatedTimetableServiceCapabilities.RequestPolicy.class,
StopTimetableCapabilityRequestPolicyStructure.class,
uk.org.siri.siri20.VehicleMonitoringServiceCapabilities.RequestPolicy.class,
uk.org.siri.siri20.ConnectionTimetableServiceCapabilities.RequestPolicy.class,
uk.org.siri.siri20.ConnectionMonitoringServiceCapabilities.RequestPolicy.class,
uk.org.siri.siri20.FacilityMonitoringServiceCapabilities.RequestPolicy.class,
uk.org.siri.siri20.SituationExchangeServiceCapabilities.RequestPolicy.class,
ProductionTimetableCapabilityRequestPolicyStructure.class,
EstimatedTimetableCapabilityRequestPolicyStructure.class,
StopMonitoringCapabilityRequestPolicyStructure.class,
VehicleMonitoringCapabilityRequestPolicyStructure.class,
ConnectionTimetableCapabilityRequestPolicyStructure.class,
ConnectionMonitoringCapabilityRequestPolicyStructure.class
})
public class CapabilityRequestPolicyStructure
implements Serializable
{
@XmlElement(name = "NationalLanguage", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected List nationalLanguages;
@XmlElement(name = "Translations")
protected Boolean translations;
@XmlElement(name = "WgsDecimalDegrees")
protected String wgsDecimalDegrees;
@XmlElement(name = "GmlCoordinateFormat")
protected String gmlCoordinateFormat;
/**
* Gets the value of the nationalLanguages 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 nationalLanguages property.
*
*
* For example, to add a new item, do as follows:
*
* getNationalLanguages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getNationalLanguages() {
if (nationalLanguages == null) {
nationalLanguages = new ArrayList();
}
return this.nationalLanguages;
}
/**
* Gets the value of the translations property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isTranslations() {
return translations;
}
/**
* Sets the value of the translations property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setTranslations(Boolean value) {
this.translations = value;
}
/**
* Gets the value of the wgsDecimalDegrees property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWgsDecimalDegrees() {
return wgsDecimalDegrees;
}
/**
* Sets the value of the wgsDecimalDegrees property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWgsDecimalDegrees(String value) {
this.wgsDecimalDegrees = value;
}
/**
* Gets the value of the gmlCoordinateFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGmlCoordinateFormat() {
return gmlCoordinateFormat;
}
/**
* Sets the value of the gmlCoordinateFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGmlCoordinateFormat(String value) {
this.gmlCoordinateFormat = value;
}
}