Download PostgreSQL 7.1 Programmer`s Guide

Transcript
Chapter 8. JDBC Interface
Methods
public void setValue(String s) throws SQLException
Parameters:
s - Definition of this point in PostgreSQL’s syntax
Throws: SQLException
on conversion failure
Overrides:
setValue in class PGobject
public boolean equals(Object obj)
Parameters:
obj - Object to compare with
Returns:
true if the two boxes are identical
Overrides:
equals in class PGobject
public Object clone()
This must be overridden to allow the object to be cloned
Overrides:
clone in class PGobject
public String getValue()
Returns:
the PGpoint in the syntax expected by PostgreSQL
Overrides:
getValue in class PGobject
Class org.postgresql.util.PGobject
java.lang.Object
|
+----org.postgresql.util.PGobject
public class PGobject extends Object implements Serializable,
Cloneable
This class is used to describe data types that are unknown by
JDBC
Standard.
A call to org.postgresql.Connection permits a class that extends this
115