Record Class CommitAttempt.Step
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.CommitAttempt.Step
- Record Components:
cascadeCause- index of the effective update causing an automatic deletion, or -1 for an ordinary update; used only for local validation, never serialized
- Enclosing class:
CommitAttempt
-
Constructor Summary
ConstructorsConstructorDescriptionStep(DeserializingMessage message, List<Change> changes) An ordinary effective update, with no automatic-deletion cause.Step(DeserializingMessage message, List<Change> changes, int cascadeCause) Step(DeserializingMessage message, List<Change> changes, int cascadeCause, Map<String, String> aliasBindings) Creates an instance of aSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealiasBindingsrecord component.intReturns the value of thecascadeCauserecord component.changes()Returns the value of thechangesrecord component.booleanReturns whether this non-empty step starts with a direct mutation change.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Step
-
Step
An ordinary effective update, with no automatic-deletion cause. -
Step
public Step(DeserializingMessage message, List<Change> changes, int cascadeCause, Map<String, String> aliasBindings) Creates an instance of aSteprecord class.- Parameters:
message- the value for themessagerecord componentchanges- the value for thechangesrecord componentcascadeCause- the value for thecascadeCauserecord componentaliasBindings- the value for thealiasBindingsrecord component
-
-
Method Details
-
directMutation
public boolean directMutation()Returns whether this non-empty step starts with a direct mutation change. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
changes
-
cascadeCause
public int cascadeCause()Returns the value of thecascadeCauserecord component.- Returns:
- the value of the
cascadeCauserecord component
-
aliasBindings
-