public interface

MutabilityPlan

implements Serializable
org.hibernate.type.descriptor.java.MutabilityPlan<T>
Known Indirect Subclasses

Class Overview

TODO : javadoc

Summary

Public Methods
abstract T assemble(Serializable cached)
Assemble a previously disassembled value.
abstract T deepCopy(T value)
Return a deep copy of the value.
abstract Serializable disassemble(T value)
Return a "disassembled" representation of the value.
abstract boolean isMutable()
Can the internal state of instances of T be changed?

Public Methods

public abstract T assemble (Serializable cached)

Assemble a previously disassembled value. This is used when pulling values from the second level cache. Compliment to disassemble(T)

Parameters
cached The disassembled state
Returns
  • The re-assembled value.
See Also

public abstract T deepCopy (T value)

Return a deep copy of the value.

Parameters
value The value to deep copy
Returns
  • The deep copy.

public abstract Serializable disassemble (T value)

Return a "disassembled" representation of the value. This is used to push values onto the second level cache. Compliment to assemble(Serializable)

Parameters
value The value to disassemble
Returns
  • The disassembled value.

public abstract boolean isMutable ()

Can the internal state of instances of T be changed?

Returns
  • True if the internal state can be changed; false otherwise.