Package uk.org.siri.siri20
Class LocationStructure
- java.lang.Object
-
- uk.org.siri.siri20.LocationStructure
-
- All Implemented Interfaces:
Serializable
public class LocationStructure extends Object implements Serializable
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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CoordinatesStructurecoordinatesprotected Stringidprotected BigDecimallatitudeprotected BigDecimallongitudeprotected BigIntegerprecisionprotected StringsrsName
-
Constructor Summary
Constructors Constructor Description LocationStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinatesStructuregetCoordinates()Gets the value of the coordinates property.StringgetId()Gets the value of the id property.BigDecimalgetLatitude()Gets the value of the latitude property.BigDecimalgetLongitude()Gets the value of the longitude property.BigIntegergetPrecision()Gets the value of the precision property.StringgetSrsName()Gets the value of the srsName property.voidsetCoordinates(CoordinatesStructure value)Sets the value of the coordinates property.voidsetId(String value)Sets the value of the id property.voidsetLatitude(BigDecimal value)Sets the value of the latitude property.voidsetLongitude(BigDecimal value)Sets the value of the longitude property.voidsetPrecision(BigInteger value)Sets the value of the precision property.voidsetSrsName(String value)Sets the value of the srsName property.
-
-
-
Field Detail
-
coordinates
protected CoordinatesStructure coordinates
-
longitude
protected BigDecimal longitude
-
latitude
protected BigDecimal latitude
-
precision
protected BigInteger precision
-
id
protected String id
-
srsName
protected String srsName
-
-
Method Detail
-
getCoordinates
public CoordinatesStructure getCoordinates()
Gets the value of the coordinates property.- Returns:
- possible object is
CoordinatesStructure
-
setCoordinates
public void setCoordinates(CoordinatesStructure value)
Sets the value of the coordinates property.- Parameters:
value- allowed object isCoordinatesStructure
-
getLongitude
public BigDecimal getLongitude()
Gets the value of the longitude property.- Returns:
- possible object is
BigDecimal
-
setLongitude
public void setLongitude(BigDecimal value)
Sets the value of the longitude property.- Parameters:
value- allowed object isBigDecimal
-
getLatitude
public BigDecimal getLatitude()
Gets the value of the latitude property.- Returns:
- possible object is
BigDecimal
-
setLatitude
public void setLatitude(BigDecimal value)
Sets the value of the latitude property.- Parameters:
value- allowed object isBigDecimal
-
getPrecision
public BigInteger getPrecision()
Gets the value of the precision property.- Returns:
- possible object is
BigInteger
-
setPrecision
public void setPrecision(BigInteger value)
Sets the value of the precision property.- Parameters:
value- allowed object isBigInteger
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getSrsName
public String getSrsName()
Gets the value of the srsName property.- Returns:
- possible object is
String
-
-