Record Class ModelCommitAssignment.RelationshipStep
java.lang.Object
java.lang.Record
io.fluxzero.common.modeling.ModelCommitAssignment.RelationshipStep
- Enclosing class:
ModelCommitAssignment
public static record ModelCommitAssignment.RelationshipStep(List<ModelCommitAssignment.RelationshipChange> changes, Set<String> finalDeletedParentIds)
extends Record
Relationship changes and final parent deletions applied at one state index.
-
Constructor Summary
ConstructorsConstructorDescriptionRelationshipStep(List<ModelCommitAssignment.RelationshipChange> changes, Set<String> finalDeletedParentIds) Creates an instance of aRelationshipSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the value of thechangesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalDeletedParentIdsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RelationshipStep
public RelationshipStep(List<ModelCommitAssignment.RelationshipChange> changes, Set<String> finalDeletedParentIds) Creates an instance of aRelationshipSteprecord class.- Parameters:
changes- the value for thechangesrecord componentfinalDeletedParentIds- the value for thefinalDeletedParentIdsrecord 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). -
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-
finalDeletedParentIds
-