|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hl7.hibernate.AbstractDataTypeUserType
public abstract class AbstractDataTypeUserType
An abstract Hibernate UserType that minimally implements the UserType interface appropriate for all HL7 data types.
| Constructor Summary | |
|---|---|
AbstractDataTypeUserType()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner)
Deprecated. this operation is currently not supported |
java.lang.Object |
deepCopy(java.lang.Object value)
Return a deep copy of the persistent state, stopping at entities and at collections. |
java.io.Serializable |
disassemble(java.lang.Object value)
Deprecated. this operation is currently not supported |
boolean |
equals(java.lang.Object x,
java.lang.Object y)
Compare two instances of the class mapped by this type for persistence "equality". |
int |
hashCode(java.lang.Object x)
Get a hashcode for the instance, consistent with persistence "equality". |
boolean |
isMutable()
Are objects of this type mutable? No never! |
abstract java.lang.Object |
nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner)
Retrieve an instance of the mapped class from a JDBC resultset. |
abstract void |
nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index)
Write 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)
Deprecated. not implemented yet |
abstract java.lang.Class |
returnedClass()
The class returned by nullSafeGet(). |
abstract int[] |
sqlTypes()
Return the SQL type 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 AbstractDataTypeUserType()
| Method Detail |
|---|
public abstract java.lang.Class returnedClass()
public abstract int[] sqlTypes()
public abstract java.lang.Object nullSafeGet(java.sql.ResultSet rs,
java.lang.String[] names,
java.lang.Object owner)
throws HibernateException
HibernateException
public abstract void nullSafeSet(java.sql.PreparedStatement st,
java.lang.Object value,
int index)
throws HibernateException
HibernateException
public java.lang.Object assemble(java.io.Serializable cached,
java.lang.Object owner)
public java.io.Serializable disassemble(java.lang.Object value)
public java.lang.Object deepCopy(java.lang.Object value)
throws HibernateException
HibernateException
public boolean equals(java.lang.Object x,
java.lang.Object y)
throws HibernateException
HibernateException
public int hashCode(java.lang.Object x)
throws HibernateException
HibernateExceptionpublic boolean isMutable()
public java.lang.Object replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
throws HibernateException
HibernateException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||