|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.type.descriptor.java.ImmutableMutabilityPlan<T>
public class ImmutableMutabilityPlan<T>
Mutability plan for immutable objects
Field Summary | |
---|---|
static ImmutableMutabilityPlan |
INSTANCE
|
Constructor Summary | |
---|---|
ImmutableMutabilityPlan()
|
Method Summary | |
---|---|
T |
assemble(Serializable cached)
Assemble a previously disassembled value. |
T |
deepCopy(T value)
Return a deep copy of the 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 |
Field Detail |
---|
public static final ImmutableMutabilityPlan INSTANCE
Constructor Detail |
---|
public ImmutableMutabilityPlan()
Method Detail |
---|
public boolean isMutable()
isMutable
in interface MutabilityPlan<T>
public T deepCopy(T value)
deepCopy
in interface MutabilityPlan<T>
value
- The value to deep copy
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |