Record Class SemanticCollectionChange.Delta
java.lang.Object
java.lang.Record
org.hibernate.collection.spi.SemanticCollectionChange.Delta
- All Implemented Interfaces:
SemanticCollectionChange
- Enclosing interface:
SemanticCollectionChange
public static record SemanticCollectionChange.Delta(@Nonnull CollectionDelta delta)
extends Record
implements SemanticCollectionChange
An enumerable semantic difference relative to an identified baseline.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface SemanticCollectionChange
SemanticCollectionChange.BulkRemoval, SemanticCollectionChange.BulkRemovalHolder, SemanticCollectionChange.Delta, SemanticCollectionChange.None, SemanticCollectionChange.NoneHolder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelta()Returns the value of thedeltarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Delta
Creates an instance of aDeltarecord class.- Parameters:
delta- the value for thedeltarecord 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). -
delta
Returns the value of thedeltarecord component.- Returns:
- the value of the
deltarecord component
-