|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.system.util.StringClobType
public class StringClobType
StringClobType serializes an instances of a Clob to a String.
Constructor Summary | |
---|---|
StringClobType()
|
Method Summary | |
---|---|
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner)
Restructs an object from the cachable representation |
java.lang.Object |
deepCopy(java.lang.Object value)
Returns a deep copy of the persistent state |
java.io.Serializable |
disassemble(java.lang.Object value)
Transforms an object into it's cacheable representation |
boolean |
equals(java.lang.Object x,
java.lang.Object y)
Compares two instances of the class mapped by this type of persistance entity |
int |
hashCode(java.lang.Object x)
Returns a hashcode for the instance |
boolean |
isMutable()
Checks if object is mutable |
java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner)
Retrieves an instance of the mapped class from a JDBC resultset |
void |
nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index)
Writes an instance of the mapped class to a prepared statement |
java.lang.Object |
replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
Replace the existing value with a new value |
java.lang.Class |
returnedClass()
Class returned by nullSafeGet |
int[] |
sqlTypes()
Returns the SQL tpe codes for the columns mapped by this type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringClobType()
Method Detail |
---|
public java.lang.Object assemble(java.io.Serializable cached, java.lang.Object owner)
cached
- public java.lang.Object deepCopy(java.lang.Object value)
public java.io.Serializable disassemble(java.lang.Object value)
value
- public boolean equals(java.lang.Object x, java.lang.Object y)
x
- y
- public int hashCode(java.lang.Object x)
x
- public boolean isMutable()
public java.lang.Object nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, java.lang.Object owner) throws HibernateException, java.sql.SQLException
rs
- - resultsetnames
- owner
-
HibernateException
java.sql.SQLException
public void nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index) throws HibernateException, java.sql.SQLException
st
- - PreparedStatementvalue
- index
-
HibernateException
java.sql.SQLException
public java.lang.Object replace(java.lang.Object original, java.lang.Object target, java.lang.Object owner)
original
- target
- owner
-
public java.lang.Class returnedClass()
public int[] sqlTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |