com.u2d.persist.type
Class BaseUserType
java.lang.Object
com.u2d.persist.type.BaseUserType
- All Implemented Interfaces:
- org.hibernate.usertype.UserType
- Direct Known Subclasses:
- BooleanEOUserType, CharEOUserType, DateEOUserType, DateTimeUserType, EmailUserType, FieldPathUserType, FileEOUserType, FloatEOUserType, ImgEOUserType, IntEOUserType, LogoUserType, PasswordUserType, PercentUserType, PhotoUserType, SSNUserType, StringEOUserType, TextEOUserType, TimeEOUserType, URIUserType, USDollarUserType, USPhoneUserType, USZipCodeUserType
public abstract class BaseUserType
- extends java.lang.Object
- implements org.hibernate.usertype.UserType
Date: May 24, 2005
Time: 6:56:34 PM
- Author:
- Eitan Suez
|
Method Summary |
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner)
|
java.lang.Object |
deepCopy(java.lang.Object obj)
|
java.io.Serializable |
disassemble(java.lang.Object value)
|
int |
hashCode(java.lang.Object x)
|
boolean |
isMutable()
|
java.lang.Object |
replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.hibernate.usertype.UserType |
equals, nullSafeGet, nullSafeSet, returnedClass, sqlTypes |
BaseUserType
public BaseUserType()
hashCode
public int hashCode(java.lang.Object x)
throws org.hibernate.HibernateException
- Specified by:
hashCode in interface org.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
disassemble
public java.io.Serializable disassemble(java.lang.Object value)
throws org.hibernate.HibernateException
- Specified by:
disassemble in interface org.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
assemble
public java.lang.Object assemble(java.io.Serializable cached,
java.lang.Object owner)
throws org.hibernate.HibernateException
- Specified by:
assemble in interface org.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
replace
public java.lang.Object replace(java.lang.Object original,
java.lang.Object target,
java.lang.Object owner)
throws org.hibernate.HibernateException
- Specified by:
replace in interface org.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
deepCopy
public java.lang.Object deepCopy(java.lang.Object obj)
- Specified by:
deepCopy in interface org.hibernate.usertype.UserType
isMutable
public boolean isMutable()
- Specified by:
isMutable in interface org.hibernate.usertype.UserType