java.io.Serializable, java.lang.Cloneablepublic class PGpolygon extends PGobject implements java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field | Description |
|---|---|---|
PGpoint[] |
points |
The points defining the polygon
|
| Constructor | Description |
|---|---|
PGpolygon() |
Required by the driver
|
PGpolygon(java.lang.String s) |
|
PGpolygon(PGpoint[] points) |
Creates a polygon using an array of PGpoints
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
clone() |
This must be overidden to allow the object to be cloned
|
boolean |
equals(java.lang.Object obj) |
This must be overidden to allow comparisons of objects
|
java.lang.String |
getValue() |
This must be overidden, to return the value of the object, in the
form required by org.postgresql.
|
int |
hashCode() |
Compute hash.
|
void |
setValue(java.lang.String s) |
This method sets the value of this object.
|
public PGpoint[] points
public PGpolygon(PGpoint[] points)
points - the points defining the polygonpublic PGpolygon(java.lang.String s)
throws java.sql.SQLException
s - definition of the polygon in PostgreSQL's syntax.java.sql.SQLException - on conversion failurepublic PGpolygon()
public void setValue(java.lang.String s)
throws java.sql.SQLException
PGobjectpublic boolean equals(java.lang.Object obj)
PGobjectpublic int hashCode()
PGobjectpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
PGobject