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>
<sequence>
<sequence minOccurs="0">
<element name="Longitude" type="{http://www.netex.org.uk/netex}LongitudeType"/>
<element name="Latitude" type="{http://www.netex.org.uk/netex}LatitudeType"/>
<element name="Altitude" type="{http://www.netex.org.uk/netex}AltitudeType" minOccurs="0"/>
</sequence>
<element ref="{http://www.opengis.net/gml/3.2}pos" minOccurs="0"/>
</sequence>
<element name="Precision" type="{http://www.netex.org.uk/netex}DistanceType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
<attribute name="srsName" type="{http://www.netex.org.uk/netex}SrsNameType" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
altitude |
protected String |
id |
protected BigDecimal |
latitude |
protected BigDecimal |
longitude |
protected DirectPositionType |
pos |
protected BigDecimal |
precision |
protected String |
srsName |
| Constructor and Description |
|---|
LocationStructure() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAltitude()
Gets the value of the altitude 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.
|
DirectPositionType |
getPos()
Gets the value of the pos property.
|
BigDecimal |
getPrecision()
Gets the value of the precision property.
|
String |
getSrsName()
Gets the value of the srsName property.
|
void |
setAltitude(BigDecimal value)
Sets the value of the altitude 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 |
setPos(DirectPositionType value)
Sets the value of the pos property.
|
void |
setPrecision(BigDecimal 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 |
withAltitude(BigDecimal value) |
LocationStructure |
withId(String value) |
LocationStructure |
withLatitude(BigDecimal value) |
LocationStructure |
withLongitude(BigDecimal value) |
LocationStructure |
withPos(DirectPositionType value) |
LocationStructure |
withPrecision(BigDecimal value) |
LocationStructure |
withSrsName(String value) |
protected BigDecimal longitude
protected BigDecimal latitude
protected BigDecimal altitude
protected DirectPositionType pos
protected BigDecimal 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 BigDecimal getAltitude()
BigDecimalpublic void setAltitude(BigDecimal value)
value - allowed object is
BigDecimalpublic DirectPositionType getPos()
DirectPositionTypepublic void setPos(DirectPositionType value)
value - allowed object is
DirectPositionTypepublic BigDecimal getPrecision()
BigDecimalpublic void setPrecision(BigDecimal value)
value - allowed object is
BigDecimalpublic 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 withAltitude(BigDecimal value)
public LocationStructure withPos(DirectPositionType value)
public LocationStructure withPrecision(BigDecimal value)
public LocationStructure withId(String value)
public LocationStructure withSrsName(String value)
Copyright © 2018 Entur AS. All rights reserved.