Record Class EntityPostSaveEvent<K>
java.lang.Object
java.lang.Record
cloud.quinimbus.persistence.api.lifecycle.EntityPostSaveEvent<K>
- All Implemented Interfaces:
EntityDiffEvent,LifecycleEvent<K>
public record EntityPostSaveEvent<K>(Entity<K> entity, Set<Diff<Object>> diffs)
extends Record
implements LifecycleEvent<K>, EntityDiffEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiffs()Returns the value of thediffsrecord component.entity()Returns the value of theentityrecord 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.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cloud.quinimbus.persistence.api.lifecycle.EntityDiffEvent
onlyPropertyMutated, propertyMutated, streamDiffsForProperty
-
Constructor Details
-
EntityPostSaveEvent
-
-
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). -
entity
-
diffs
Returns the value of thediffsrecord component.- Specified by:
diffsin interfaceEntityDiffEvent- Returns:
- the value of the
diffsrecord component
-