Package io.github.sebasbaumh.postgis
Class PGgeography
- java.lang.Object
-
- org.postgresql.util.PGobject
-
- io.github.sebasbaumh.postgis.PGgeometrybase
-
- io.github.sebasbaumh.postgis.PGgeography
-
- All Implemented Interfaces:
Serializable
,Cloneable
@NonNullByDefault public class PGgeography extends PGgeometrybase
Basic geometry class for geographic geometries.- Author:
- Sebastian Baumhekel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.github.sebasbaumh.postgis.PGgeometrybase
geometry
-
-
Constructor Summary
Constructors Constructor Description PGgeography()
Constructs an instance.PGgeography(Geometry geom)
Constructs an instance.PGgeography(String value)
Constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
-
Methods inherited from class io.github.sebasbaumh.postgis.PGgeometrybase
equals, getGeometry, getGeoType, getValue, hashCode, setGeometry, setValue, toString
-
-
-
-
Constructor Detail
-
PGgeography
public PGgeography()
Constructs an instance.
-
PGgeography
public PGgeography(String value) throws SQLException
Constructs an instance.- Parameters:
value
- geometry- Throws:
SQLException
-
-
Method Detail
-
clone
public Object clone()
- Overrides:
clone
in classorg.postgresql.util.PGobject
-
-