java.io.Serializable
, java.lang.Cloneable
public class PGpath extends PGobject implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field | Description |
---|---|---|
boolean |
open |
True if the path is open, false if closed
|
PGpoint[] |
points |
The points defining this path
|
Constructor | Description |
---|---|
PGpath() |
Required by the driver
|
PGpath(java.lang.String s) |
|
PGpath(PGpoint[] points,
boolean open) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
This must be overidden to allow the object to be cloned
|
void |
closePath() |
|
boolean |
equals(java.lang.Object obj) |
This must be overidden to allow comparisons of objects
|
java.lang.String |
getValue() |
This returns the path in the syntax expected by org.postgresql
|
int |
hashCode() |
Compute hash.
|
boolean |
isClosed() |
|
boolean |
isOpen() |
|
void |
openPath() |
|
void |
setValue(java.lang.String s) |
This method sets the value of this object.
|
public boolean open
public PGpoint[] points
public PGpath(PGpoint[] points, boolean open)
points
- the PGpoints that define the pathopen
- True if the path is open, false if closedpublic PGpath()
public PGpath(java.lang.String s) throws java.sql.SQLException
s
- definition of the path in PostgreSQL's syntax.java.sql.SQLException
- on conversion failurepublic void setValue(java.lang.String s) throws java.sql.SQLException
PGobject
public boolean equals(java.lang.Object obj)
PGobject
public int hashCode()
PGobject
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
PGobject
public java.lang.String getValue()
public boolean isOpen()
public boolean isClosed()
public void closePath()
public void openPath()
Copyright © 2018 PostgreSQL Global Development Group. All rights reserved.