org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype
Class ImmutableUserType
java.lang.Object
org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableType
org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableUserType
- All Implemented Interfaces:
- org.hibernate.usertype.UserType
- Direct Known Subclasses:
- AbstractImageType, ColorType, DateTimeType, DateType, DomainModelResourceType, PasswordType, PercentageType, TimeStampType, TimeType
public abstract class ImmutableUserType
- extends ImmutableType
- implements org.hibernate.usertype.UserType
Base class for immutable Hibernate types.
|
Method Summary |
java.lang.Object |
assemble(java.io.Serializable cached,
java.lang.Object owner)
|
java.io.Serializable |
disassemble(java.lang.Object value)
|
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 |
deepCopy, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, returnedClass, sqlTypes |
ImmutableUserType
public ImmutableUserType()
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
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
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
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.