Package net.postgis.jdbc
Class PGbox3d
java.lang.Object
org.postgresql.util.PGobject
net.postgis.jdbc.PGboxbase
net.postgis.jdbc.PGbox3d
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class org.postgresql.util.PGobject
type, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Postgres type we have (same construct as getPrefix())The Prefix we have in WKT rep.protected PGboxbaseObtain a new instance of a PGboxbase We could have used this.getClass().newInstance() here, but this forces us dealing with InstantiationException and IllegalAccessException.Methods inherited from class net.postgis.jdbc.PGboxbase
clone, compareLazyDim, equals, getLLB, getURT, getValue, setValue, toStringMethods inherited from class org.postgresql.util.PGobject
equals, getType, hashCode, isNull, setType
-
Constructor Details
-
PGbox3d
public PGbox3d() -
PGbox3d
-
PGbox3d
- Throws:
SQLException
-
-
Method Details
-
getPrefix
Description copied from class:PGboxbaseThe Prefix we have in WKT rep. I use an abstract method here so we do not need to replicate the String object in every instance. -
getPGtype
Description copied from class:PGboxbaseThe Postgres type we have (same construct as getPrefix()) -
newInstance
Description copied from class:PGboxbaseObtain a new instance of a PGboxbase We could have used this.getClass().newInstance() here, but this forces us dealing with InstantiationException and IllegalAccessException. Due to the PGObject.clone() brokennes that does not allow clone() to throw CloneNotSupportedException, we cannot even pass this exceptions down to callers in a sane way.- Specified by:
newInstancein classPGboxbase- Returns:
- a new instance of PGboxbase
-