Record Class StatefulHandler.StatefulMemberMutation
java.lang.Object
java.lang.Record
io.fluxzero.sdk.tracking.handling.StatefulHandler.StatefulMemberMutation
- Enclosing class:
StatefulHandler
protected static record StatefulHandler.StatefulMemberMutation(StatefulHandler.StatefulMember member, Entity<?> target, Entity<?> before, Entity<?> after)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStatefulMemberMutation(StatefulHandler.StatefulMember member, Entity<?> target, Entity<?> before, Entity<?> after) Creates an instance of aStatefulMemberMutationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionEntity<?> after()Returns the value of theafterrecord component.Entity<?> before()Returns the value of thebeforerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.member()Returns the value of thememberrecord component.Entity<?> target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StatefulMemberMutation
protected StatefulMemberMutation(StatefulHandler.StatefulMember member, Entity<?> target, Entity<?> before, Entity<?> after) Creates an instance of aStatefulMemberMutationrecord class.- Parameters:
member- the value for thememberrecord componenttarget- the value for thetargetrecord componentbefore- the value for thebeforerecord componentafter- the value for theafterrecord 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). -
member
Returns the value of thememberrecord component.- Returns:
- the value of the
memberrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
before
Returns the value of thebeforerecord component.- Returns:
- the value of the
beforerecord component
-
after
Returns the value of theafterrecord component.- Returns:
- the value of the
afterrecord component
-