| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public boolean | Returns: true if the two boxes are identicalObject to compare with obj)Overrides java. |
| protected static boolean | |
| public final String | Returns: the type name of this objectAs this cannot change during the life of the object, it's final. |
| public String | Returns: the value of this objectThis must be overidden, to return the value of the object, in the form required by org.postgresql. |
| public int | Returns: Value hashcode, 0 if value is nulljava.Overrides java. |
| public boolean | Returns: true if the current object wraps `null` value.Returns true if the current object wraps `null` value. |
| public final void | |
| public void | |
| public String | Returns: the value of this object, in the syntax expected by org.postgresqlOverrides java. |
| PGobject | back to summary |
|---|---|
| public PGobject() This is called by org.postgresql.Connection.getObject() to create the object. | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. This must be overidden to allow the object to be cloned.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. This must be overidden to allow comparisons of objects. | |
| equals | back to summary |
|---|---|
| protected static boolean equals(Object a, Object b) | |
| getType | back to summary |
|---|---|
| public final String getType() As this cannot change during the life of the object, it's final.
| |
| getValue | back to summary |
|---|---|
| public String getValue() This must be overidden, to return the value of the object, in the form required by org.postgresql.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Compute hash. As equals() use only value. Return the same hash for the same value.
| |
| isNull | back to summary |
|---|---|
| public boolean isNull() Returns true if the current object wraps `null` value. This might be helpful
| |
| setType | back to summary |
|---|---|
| public final void setType(String type) This method sets the type of this object. It should not be extended by subclasses, hence it is final
| |
| setValue | back to summary |
|---|---|
| public void setValue(String value) throws SQLException This method sets the value of this object. It must be overridden.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. This is defined here, so user code need not overide it. | |