org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype
Class ImmutableUserType

java.lang.Object
  extended by org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableType
      extended by 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.


Constructor Summary
ImmutableUserType()
           
 
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 org.nakedobjects.plugins.hibernate.objectstore.persistence.hibspi.usertype.ImmutableType
deepCopy, equals, hashCode, isMutable
 
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
 

Constructor Detail

ImmutableUserType

public ImmutableUserType()
Method Detail

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.