public class PGgeo
extends org.postgresql.util.PGobject
| Modifier | Constructor and Description |
|---|---|
protected |
PGgeo()
Instantiate with default state.
|
|
PGgeo(Geometry geometry)
Instantiate with the specified state.
|
|
PGgeo(String value)
Instantiate with the specified state.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Geometry |
getGeometry()
Get the encapsulated geometry.
|
int |
getGeoType()
Get the type of the encapsulated geometry.
|
String |
getValue() |
void |
setGeometry(Geometry geometry)
Set the encapsulated geometry.
|
void |
setValue(String value) |
String |
toString() |
protected PGgeo()
public PGgeo(Geometry geometry)
geometry - the geometry to instantiate withpublic PGgeo(String value) throws SQLException
value - the value to instantiate withSQLExceptionpublic String getValue()
getValue in class org.postgresql.util.PGobjectpublic void setValue(String value) throws SQLException
setValue in class org.postgresql.util.PGobjectSQLExceptionpublic Geometry getGeometry()
public void setGeometry(Geometry geometry)
geometry - the encapsulated geometrypublic int getGeoType()
public String toString()
toString in class org.postgresql.util.PGobjectpublic Object clone()
clone in class org.postgresql.util.PGobjectCopyright © 2024. All rights reserved.