| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.type.AbstractType
org.hibernate.type.NullableType
org.hibernate.type.MutableType
AbstractStandardBasicType approach instead
public abstract class MutableType
Superclass for mutable nullable types
| Constructor Summary | |
|---|---|
| MutableType()Deprecated. | |
| Method Summary | |
|---|---|
|  Object | deepCopy(Object value,
         EntityMode entityMode,
         SessionFactoryImplementor factory)Deprecated. Return a deep copy of the persistent state, stopping at entities and at collections. | 
| protected abstract  Object | deepCopyNotNull(Object value)Deprecated. | 
|  boolean | isMutable()Deprecated. Are objects of this type mutable. | 
|  Object | replace(Object original,
        Object target,
        SessionImplementor session,
        Object owner,
        Map copyCache)Deprecated. During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging. | 
| Methods inherited from class org.hibernate.type.NullableType | 
|---|
| fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, isDirty, isEqual, isEqual, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeToString, set, setToXMLNode, sqlType, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLString | 
| Methods inherited from class org.hibernate.type.AbstractType | 
|---|
| assemble, beforeAssemble, compare, disassemble, getHashCode, getHashCode, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isEntityType, isEqual, isModified, isSame, isXMLElement, replace, replaceNode, resolve, semiResolve | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.hibernate.type.Type | 
|---|
| getName, getReturnedClass | 
| Constructor Detail | 
|---|
public MutableType()
| Method Detail | 
|---|
public final boolean isMutable()
Type
protected abstract Object deepCopyNotNull(Object value)
                                   throws HibernateException
HibernateException
public final Object deepCopy(Object value,
                             EntityMode entityMode,
                             SessionFactoryImplementor factory)
                      throws HibernateException
Type
value - generally a collection element or entity field
HibernateException
public Object replace(Object original,
                      Object target,
                      SessionImplementor session,
                      Object owner,
                      Map copyCache)
               throws HibernateException
Type
original - the value from the detached entity being mergedtarget - the value in the managed entity
HibernateException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||