Class ArrayMutabilityPlan<T>
java.lang.Object
org.hibernate.type.descriptor.java.MutableMutabilityPlan<T>
org.hibernate.type.descriptor.java.ArrayMutabilityPlan<T>
- All Implemented Interfaces:
Serializable, MutabilityPlan<T>
@Deprecated(forRemoval=true,
since="7.0")
public class ArrayMutabilityPlan<T>
extends MutableMutabilityPlan<T>
Deprecated, for removal: This API element is subject to removal in a future version.
A mutability plan for arrays. Specifically arrays of immutable element type;
since the elements themselves are immutable, a shallow copy is enough.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArrayMutabilityPlanDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptiondeepCopyNotNull(T value) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class MutableMutabilityPlan
assemble, deepCopy, disassemble, instance, isMutable
-
Field Details
-
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ArrayMutabilityPlan
public ArrayMutabilityPlan()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
deepCopyNotNull
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deepCopyNotNullin classMutableMutabilityPlan<T>
-
ImmutableObjectArrayMutabilityPlan.get()for object arrays, or implement a dedicated mutability plan for primitive arrays (see for exampleShortPrimitiveArrayJavaType's mutability plan).