Interface NuitonValidator<O>

    • Method Detail

      • getModel

        NuitonValidatorModel<O> getModel()
        Obtains the model of the validator.
        Returns:
        the model of the validator
      • getEffectiveScopes

        Set<NuitonValidatorScope> getEffectiveScopes()
        Obtains the set of effective scopes for the validator : means the very scopes that the validator is dealing with. This is a subset of the model authorized scopes.
        Returns:
        the set of effective scopes of the validator
      • getEffectiveFields

        Set<String> getEffectiveFields()
        Obtains the set of effective fields for the validator : means the very fields validated by the validator. This is a sub set of fields of the object to validate.
        Returns:
        the set of effective fields of the validator
      • getEffectiveFields

        Set<String> getEffectiveFields​(NuitonValidatorScope scope)
        Obtains the set of effective fields for the validator for the given scope : means the very fields validated by the validator. This is a subset of effective fields of the validator.
        Parameters:
        scope - given scope to use
        Returns:
        the set of effective fields of the validator for the given scope