public abstract class AbstractClob extends java.lang.Object implements Clob
Modifier | Constructor and Description |
---|---|
protected |
AbstractClob() |
protected |
AbstractClob(Repository repo)
Use of this constructor indicates that setValue should operate within a
transaction.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Convenience method to capture all the Clob data as a single String.
|
boolean |
equals(java.lang.Object obj)
Two Lobs are considered equal if the object instances are the same or if
they point to the same content.
|
int |
hashCode() |
void |
setValue(java.lang.String value)
Convenience method to overwrite all Clob data with the value of a single
String.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLength, openReader, openReader, openReader, openWriter, openWriter, openWriter, setLength
getLocator
protected AbstractClob()
protected AbstractClob(Repository repo)
repo
- optional repository to use for performing string conversion
within transactionspublic java.lang.String asString() throws FetchException
Clob
asString
in interface Clob
FetchException
public void setValue(java.lang.String value) throws PersistException
Clob
setValue
in interface Clob
value
- Clob is overwritten with this valuePersistException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Lob
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.