Record Class PhysicalCollectionMutation.RemoveAll
java.lang.Object
java.lang.Record
org.hibernate.collection.spi.PhysicalCollectionMutation.RemoveAll
- All Implemented Interfaces:
PhysicalCollectionMutation
- Enclosing interface:
PhysicalCollectionMutation
public static record PhysicalCollectionMutation.RemoveAll(@Nonnull PhysicalCollectionMutation.RemovalMode removalMode)
extends Record
implements PhysicalCollectionMutation
Remove all rows belonging to the loaded collection endpoint.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface PhysicalCollectionMutation
PhysicalCollectionMutation.CreateAll, PhysicalCollectionMutation.NoWork, PhysicalCollectionMutation.NoWorkHolder, PhysicalCollectionMutation.RemovalMode, PhysicalCollectionMutation.RemoveAll, PhysicalCollectionMutation.RemoveAllAndCreateAll, PhysicalCollectionMutation.RowChanges -
Constructor Summary
ConstructorsConstructorDescriptionRemoveAll(PhysicalCollectionMutation.RemovalMode removalMode) Creates an instance of aRemoveAllrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theremovalModerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RemoveAll
Creates an instance of aRemoveAllrecord class.- Parameters:
removalMode- the value for theremovalModerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
removalMode
Returns the value of theremovalModerecord component.- Returns:
- the value of the
removalModerecord component
-