public class LocationStructure extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected CoordinatesStructure |
coordinates |
protected String |
id |
protected BigDecimal |
latitude |
protected BigDecimal |
longitude |
protected BigInteger |
precision |
protected String |
srsName |
| Constructor and Description |
|---|
LocationStructure() |
| Modifier and Type | Method and Description |
|---|---|
CoordinatesStructure |
getCoordinates()
Gets the value of the coordinates property.
|
String |
getId()
Gets the value of the id property.
|
BigDecimal |
getLatitude()
Gets the value of the latitude property.
|
BigDecimal |
getLongitude()
Gets the value of the longitude property.
|
BigInteger |
getPrecision()
Gets the value of the precision property.
|
String |
getSrsName()
Gets the value of the srsName property.
|
void |
setCoordinates(CoordinatesStructure value)
Sets the value of the coordinates property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLatitude(BigDecimal value)
Sets the value of the latitude property.
|
void |
setLongitude(BigDecimal value)
Sets the value of the longitude property.
|
void |
setPrecision(BigInteger value)
Sets the value of the precision property.
|
void |
setSrsName(String value)
Sets the value of the srsName property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
LocationStructure |
withCoordinates(CoordinatesStructure value) |
LocationStructure |
withId(String value) |
LocationStructure |
withLatitude(BigDecimal value) |
LocationStructure |
withLongitude(BigDecimal value) |
LocationStructure |
withPrecision(BigInteger value) |
LocationStructure |
withSrsName(String value) |
protected BigDecimal longitude
protected BigDecimal latitude
protected CoordinatesStructure coordinates
protected BigInteger precision
protected String id
protected String srsName
public BigDecimal getLongitude()
BigDecimalpublic void setLongitude(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getLatitude()
BigDecimalpublic void setLatitude(BigDecimal value)
value - allowed object is
BigDecimalpublic CoordinatesStructure getCoordinates()
CoordinatesStructurepublic void setCoordinates(CoordinatesStructure value)
value - allowed object is
CoordinatesStructurepublic BigInteger getPrecision()
BigIntegerpublic void setPrecision(BigInteger value)
value - allowed object is
BigIntegerpublic void setId(String value)
value - allowed object is
Stringpublic String getSrsName()
Stringpublic void setSrsName(String value)
value - allowed object is
Stringpublic LocationStructure withLongitude(BigDecimal value)
public LocationStructure withLatitude(BigDecimal value)
public LocationStructure withCoordinates(CoordinatesStructure value)
public LocationStructure withPrecision(BigInteger value)
public LocationStructure withId(String value)
public LocationStructure withSrsName(String value)
Copyright © 2018 Entur AS. All rights reserved.