Class MutableMutabilityPlan<T>
java.lang.Object
org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
- All Implemented Interfaces:
Serializable,MutabilityPlan<T>
- Direct Known Subclasses:
ArrayMutabilityPlan,AttributeConverterMutabilityPlan,CalendarJavaType.CalendarMutabilityPlan,DateJavaType.DateMutabilityPlan,ImmutableObjectArrayMutabilityPlan,JdbcDateJavaType.DateMutabilityPlan,JdbcTimeJavaType.TimeMutabilityPlan,JdbcTimestampJavaType.TimestampMutabilityPlan,SerializableJavaType.SerializableMutabilityPlan
Mutability plan for mutable objects
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, SharedSessionContract session) Assemble a previously disassembled value.final TReturn a deep copy of the value.protected abstract TdeepCopyNotNull(T value) disassemble(T value, SharedSessionContract session) Return a disassembled representation of the value.booleanCan the internal state of instances ofTbe changed?
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
MutableMutabilityPlan
public MutableMutabilityPlan()
-
-
Method Details
-
isMutable
public boolean isMutable()Description copied from interface:MutabilityPlanCan the internal state of instances ofTbe changed?- Specified by:
isMutablein interfaceMutabilityPlan<T>- Returns:
- True if the internal state can be changed; false otherwise.
-
deepCopy
Description copied from interface:MutabilityPlanReturn a deep copy of the value.- Specified by:
deepCopyin interfaceMutabilityPlan<T>- Parameters:
value- The value to deep copy- Returns:
- The deep copy.
-
deepCopyNotNull
-