Interface PropertyValidator

    • Method Detail

      • validate

        String validate​(Object value)
        Validate the value against constraints implemented in the validator. If the validation fails a message is returned. If validation passes then null is returned.
        Parameters:
        value - the value to check
        Returns:
        null if validation passes, otherwise a validation message is returned