Class DirectedGraphValidator<T>

java.lang.Object
co.yellowdog.platform.model.validation.customvalidators.DirectedGraphValidator<T>
Type Parameters:
T - The entity type being validated

public class DirectedGraphValidator<T> extends Object
Supports custom validators that check graph like relationships.
See Also:
  • Constructor Details

  • Method Details

    • allReferencedNodesExist

      public boolean allReferencedNodesExist(@NonNull @NonNull List<T> elements)
    • isAcyclic

      public boolean isAcyclic(@NonNull @NonNull List<T> elements)