|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.postgresql.util.PGobject
org.postgis.PGboxbase
public abstract class PGboxbase
| Field Summary | |
|---|---|
protected Point |
llb
The lower left bottom corner of the box. |
protected Point |
urt
The upper right top corner of the box. |
| Fields inherited from class org.postgresql.util.PGobject |
|---|
type, value |
| Constructor Summary | |
|---|---|
PGboxbase()
|
|
PGboxbase(Point llb,
Point urt)
|
|
PGboxbase(java.lang.String value)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
protected static boolean |
compareLazyDim(Point first,
Point second)
Compare two coordinates with lazy dimension checking. |
boolean |
equals(java.lang.Object other)
|
Point |
getLLB()
Returns the lower left bottom corner of the box as a Point object |
abstract java.lang.String |
getPGtype()
The Postgres type we have (same construct as getPrefix()) |
abstract java.lang.String |
getPrefix()
The Prefix we have in WKT rep. |
Point |
getURT()
Returns the upper right top corner of the box as a Point object |
java.lang.String |
getValue()
|
protected abstract PGboxbase |
newInstance()
We could have used this.getClass().newInstance() here, but this forces us dealing with InstantiationException and IllegalAccessException. |
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
Unlike geometries, toString() does _not_ contain the srid, as server-side PostGIS cannot parse this. |
| Methods inherited from class org.postgresql.util.PGobject |
|---|
getType, setType |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Point llb
protected Point urt
| Constructor Detail |
|---|
public PGboxbase()
public PGboxbase(Point llb,
Point urt)
public PGboxbase(java.lang.String value)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public abstract java.lang.String getPrefix()
public abstract java.lang.String getPGtype()
public void setValue(java.lang.String value)
throws java.sql.SQLException
setValue in class org.postgresql.util.PGobjectjava.sql.SQLExceptionpublic java.lang.String getValue()
getValue in class org.postgresql.util.PGobjectpublic java.lang.String toString()
toString in class org.postgresql.util.PGobjectpublic Point getLLB()
public Point getURT()
public boolean equals(java.lang.Object other)
equals in class org.postgresql.util.PGobject
protected static boolean compareLazyDim(Point first,
Point second)
public java.lang.Object clone()
clone in class org.postgresql.util.PGobjectprotected abstract PGboxbase newInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||