Class ModelRelationshipCycleValidator
java.lang.Object
io.fluxzero.common.api.modeling.ModelRelationshipCycleValidator
Validates ordered relationship changes against a current parent graph without loading unrelated descendants.
Changes in one step become visible atomically; separate steps are validated independently.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordComplete desired parent-ID set for one changed child.static interfaceBatch-loads current parents for child IDs.static final recordOne historically visible relationship boundary.static classSignals that the proposed relationship boundary could not be proven acyclic. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(List<ModelRelationshipCycleValidator.Step> steps, ModelRelationshipCycleValidator.ParentLoader parentLoader) Validates ordered atomic relationship steps.
-
Method Details
-
validate
public static void validate(List<ModelRelationshipCycleValidator.Step> steps, ModelRelationshipCycleValidator.ParentLoader parentLoader) Validates ordered atomic relationship steps.
-