Class ImmutableObjectArrayMutabilityPlan<T>
java.lang.Object
org.hibernate.type.descriptor.java.MutableMutabilityPlan<T[]>
org.hibernate.type.descriptor.java.ImmutableObjectArrayMutabilityPlan<T>
- All Implemented Interfaces:
Serializable
,MutabilityPlan<T[]>
A mutability plan for mutable arrays of immutable, non-primitive objects.
Since the elements themselves are immutable, the deep copy can be implemented with a shallow copy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionT[]
deepCopyNotNull
(T[] value) static <T> ImmutableObjectArrayMutabilityPlan<T>
get()
Methods inherited from class org.hibernate.type.descriptor.java.MutableMutabilityPlan
assemble, deepCopy, disassemble, isMutable
-
Constructor Details
-
ImmutableObjectArrayMutabilityPlan
public ImmutableObjectArrayMutabilityPlan()
-
-
Method Details
-
get
-
deepCopyNotNull
- Specified by:
deepCopyNotNull
in classMutableMutabilityPlan<T[]>
-