public class PGmoney extends PGobject implements Serializable, Cloneable
| Modifier and Type | Field and Description |
|---|---|
double |
val |
| Constructor and Description |
|---|
PGmoney() |
PGmoney(double value) |
PGmoney(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
This must be overidden to allow comparisons of objects
|
String |
getValue()
This must be overidden, to return the value of the object, in the
form required by org.postgresql.
|
void |
setValue(String s)
This method sets the value of this object.
|
public PGmoney(double value)
value - of fieldpublic PGmoney(String value) throws SQLException
SQLExceptionpublic PGmoney()
public void setValue(String s) throws SQLException
PGobjectsetValue in class PGobjects - a string representation of the value of the objectSQLException - thrown if value is invalid for this typepublic boolean equals(Object obj)
PGobjectCopyright © 2015 PostgreSQL Global Development Group. All rights reserved.