public class PolygonPoint extends Object
Element of Polygon
| Constructor and Description |
|---|
PolygonPoint() |
| Modifier and Type | Method and Description |
|---|---|
Lat |
getLat()
Get the geographical latitude (degrees, minutes, seconds and hemisphere N
or S) of the Point or center of the Ellipse.
|
Lon |
getLon()
Get the geographical longitude (degrees, minutes, seconds, and hemisphere E
or W) of the Point or center of the Ellipse.
|
BigInteger |
getSequence()
Get a unique, sequenced, index for each point describing the current
polygon..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetLat()
Determine if the Lat is configured.
|
boolean |
isSetLon()
Determine if the Lon is configured.
|
boolean |
isSetSequence()
Determine if the Sequence is configured.
|
void |
setLat(Lat value)
Set the geographical latitude (degrees, minutes, seconds and hemisphere N
or S) of the Point or center of the Ellipse.
|
void |
setLon(Lon value)
Set the geographical longitude (degrees, minutes, seconds, and hemisphere E
or W) of the Point or center of the Ellipse.
|
void |
setSequence(BigInteger value)
Set a unique, sequenced, index for each point describing the current
polygon..
|
String |
toString()
Get a string representation of this PolygonPoint instance configuration.
|
PolygonPoint |
withLat(Double value)
Set the geographical latitude in decimal degrees.
|
PolygonPoint |
withLat(String value)
Set the geographical latitude (degrees, minutes, seconds and hemisphere N
or S) of the Point or center of the Ellipse.
|
PolygonPoint |
withLon(Double value)
Set the geographical longitude in decimal degrees.
|
PolygonPoint |
withLon(String value)
Set the geographical longitude (degrees, minutes, seconds, and hemisphere E
or W) of the Point or center of the Ellipse.
|
PolygonPoint |
withSequence(BigInteger value)
Set a unique, sequenced, index for each point describing the current
polygon.
|
public Lon getLon()
Lon instancepublic void setLon(Lon value)
value - a Lon instancepublic boolean isSetLon()
public Lat getLat()
Lat instancepublic void setLat(Lat value)
value - a Lat instancepublic boolean isSetLat()
public BigInteger getSequence()
BigInteger instancepublic void setSequence(BigInteger value)
value - a BigInteger instancepublic boolean isSetSequence()
public PolygonPoint withLon(String value) throws Exception
public PolygonPoint withLon(Double value)
value - The coordinate value in decimal degreespublic PolygonPoint withLat(String value) throws Exception
public PolygonPoint withLat(Double value)
value - The coordinate value in decimal degreespublic PolygonPoint withSequence(BigInteger value)
value - An instances of type BigInteger.public String toString()
public boolean isSet()
PolygonPoint requires
Lat, Lon, sequence.
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.