FileDocCategorySizeDatePackage
MutableType.javaAPI DocHibernate 3.2.51071Tue May 24 11:22:16 BST 2005org.hibernate.type

MutableType

public abstract class MutableType extends NullableType
Superclass for mutable nullable types
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public final java.lang.ObjectdeepCopy(java.lang.Object value, org.hibernate.EntityMode entityMode, org.hibernate.engine.SessionFactoryImplementor factory)

		return (value==null) ? null : deepCopyNotNull(value);
	
protected abstract java.lang.ObjectdeepCopyNotNull(java.lang.Object value)

public final booleanisMutable()

		return true;
	
public java.lang.Objectreplace(java.lang.Object original, java.lang.Object target, org.hibernate.engine.SessionImplementor session, java.lang.Object owner, java.util.Map copyCache)

		if ( isEqual( original, target, session.getEntityMode() ) ) return original;
		return deepCopy( original, session.getEntityMode(), session.getFactory() );