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 thediffs
record component.entity()
Returns the value of theentity
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 thediffs
record component.- Specified by:
diffs
in interfaceEntityDiffEvent
- Returns:
- the value of the
diffs
record component
-