![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.LocationStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
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.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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Type for geospatial 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>
* <group ref="{http://www.siri.org.uk/siri}WgsGroup"/>
* </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",
"altitude",
"precision"
})
@XmlSeeAlso({
CircularAreaStructure.class
})
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 = "Altitude")
protected BigDecimal altitude;
@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 altitude property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAltitude() {
return altitude;
}
/**
* Sets the value of the altitude property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAltitude(BigDecimal value) {
this.altitude = 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