|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
public abstract class MutableMutabilityPlan<T>
Mutability plan for mutable objects
Constructor Summary | |
---|---|
MutableMutabilityPlan()
|
Method Summary | |
---|---|
T |
assemble(Serializable cached)
Assemble a previously disassembled value. |
T |
deepCopy(T value)
Return a deep copy of the value. |
protected abstract T |
deepCopyNotNull(T value)
|
Serializable |
disassemble(T value)
Return a "disassembled" representation of the value. |
boolean |
isMutable()
Can the internal state of instances of T be changed? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MutableMutabilityPlan()
Method Detail |
---|
public boolean isMutable()
isMutable
in interface MutabilityPlan<T>
public Serializable disassemble(T value)
MutabilityPlan.assemble(java.io.Serializable)
disassemble
in interface MutabilityPlan<T>
value
- The value to disassemble
MutabilityPlan.assemble(java.io.Serializable)
public T assemble(Serializable cached)
MutabilityPlan.disassemble(T)
assemble
in interface MutabilityPlan<T>
cached
- The disassembled state
MutabilityPlan.disassemble(T)
public final T deepCopy(T value)
MutabilityPlan
deepCopy
in interface MutabilityPlan<T>
value
- The value to deep copy
protected abstract T deepCopyNotNull(T value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |