Package org.hibernate.type.internal
Class UserTypeJavaTypeWrapper.MutabilityPlanWrapper<J>
java.lang.Object
org.hibernate.type.internal.UserTypeJavaTypeWrapper.MutabilityPlanWrapper<J>
- All Implemented Interfaces:
Serializable
,MutabilityPlan<J>
- Enclosing class:
- UserTypeJavaTypeWrapper<J>
public static class UserTypeJavaTypeWrapper.MutabilityPlanWrapper<J>
extends Object
implements MutabilityPlan<J>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable cached, SharedSessionContract session) Assemble a previously disassembled value.Return a deep copy of the value.disassemble
(J value, SharedSessionContract session) Return a disassembled representation of the value.boolean
Can the internal state of instances ofT
be changed?
-
Constructor Details
-
MutabilityPlanWrapper
-
-
Method Details
-
isMutable
public boolean isMutable()Description copied from interface:MutabilityPlan
Can the internal state of instances ofT
be changed?- Specified by:
isMutable
in interfaceMutabilityPlan<J>
- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
Description copied from interface:MutabilityPlan
Return a deep copy of the value.- Specified by:
deepCopy
in interfaceMutabilityPlan<J>
- Parameters:
value
- The value to deep copy- Returns:
- The deep copy.
-