Interface Validator

    • Method Detail

      • isValid

        ValidationResult isValid​(Object o,
                                 TransformerContext ctx)
        Validates the passed in object. The returned result object should contain all information about the validation: if the object is valid and error messages if this is not the case.
        Parameters:
        o - the object to test
        ctx - the transformer context
        Returns:
        an object with the validation results