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

uk.org.siri.siri20.LocationStructure 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.math.BigDecimal;
import java.math.BigInteger;
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;


/**
 * Type for gepspatial Position of a point. May be expressed in concrete WGS 84 Coordinates or any gml compatible point coordinates format.
 * 
 * 

Java class for LocationStructure complex type. * *

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

 * <complexType name="LocationStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice>
 *           <sequence>
 *             <element name="Longitude" type="{http://www.siri.org.uk/siri}LongitudeType"/>
 *             <element name="Latitude" type="{http://www.siri.org.uk/siri}LatitudeType"/>
 *           </sequence>
 *           <element name="Coordinates" type="{http://www.siri.org.uk/siri}CoordinatesStructure"/>
 *         </choice>
 *         <element name="Precision" type="{http://www.siri.org.uk/siri}DistanceType" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="srsName" type="{http://www.siri.org.uk/siri}SrsNameType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LocationStructure", propOrder = { "coordinates", "longitude", "latitude", "precision" }) public class LocationStructure implements Serializable { @XmlElement(name = "Coordinates") protected CoordinatesStructure coordinates; @XmlElement(name = "Longitude") protected BigDecimal longitude; @XmlElement(name = "Latitude") protected BigDecimal latitude; @XmlElement(name = "Precision") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger precision; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String id; @XmlAttribute(name = "srsName") protected String srsName; /** * Gets the value of the coordinates property. * * @return * possible object is * {@link CoordinatesStructure } * */ public CoordinatesStructure getCoordinates() { return coordinates; } /** * Sets the value of the coordinates property. * * @param value * allowed object is * {@link CoordinatesStructure } * */ public void setCoordinates(CoordinatesStructure value) { this.coordinates = value; } /** * Gets the value of the longitude property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getLongitude() { return longitude; } /** * Sets the value of the longitude property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setLongitude(BigDecimal value) { this.longitude = value; } /** * Gets the value of the latitude property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getLatitude() { return latitude; } /** * Sets the value of the latitude property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setLatitude(BigDecimal value) { this.latitude = value; } /** * Gets the value of the precision property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getPrecision() { return precision; } /** * Sets the value of the precision property. * * @param value * allowed object is * {@link BigInteger } * */ public void setPrecision(BigInteger value) { this.precision = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the srsName property. * * @return * possible object is * {@link String } * */ public String getSrsName() { return srsName; } /** * Sets the value of the srsName property. * * @param value * allowed object is * {@link String } * */ public void setSrsName(String value) { this.srsName = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy