Record Class CascadedModelDeletion
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.CascadedModelDeletion
- Record Components:
parentIds- deleted parent model IDs which caused this cascade step
Internal reconstructing event stored for models deleted through an owning
Parent relationship.
The payload is intentionally stable because event-sourced descendant streams retain it. It is never globally
published and applications do not need an @Apply handler for
it; the model repository interprets it as a logical deletion during replay.
-
Constructor Summary
ConstructorsConstructorDescriptionCascadedModelDeletion(List<String> parentIds) Creates an instance of aCascadedModelDeletionrecord 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 theparentIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CascadedModelDeletion
-
-
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). -
parentIds
-