Interface IConstraintValidator

    • Method Detail

      • validate

        void validate​(@NonNull
                      INodeItem item)
        Validate the provided item against any associated constraints.
        Parameters:
        item - the item to validate
        Throws:
        MetapathException - if an error occurred while evaluating a Metapath used in a constraint
      • finalizeValidation

        void finalizeValidation()
        Complete any validations that require full analysis of the content model.
        Throws:
        MetapathException - if an error occurred while evaluating a Metapath used in a constraint