Class ProjectionValidator<V,​C>

    • Constructor Detail

    • Method Detail

      • validate

        public ValidationResult validate​(V value,
                                         Object valueSource)
        Description copied from interface: Validator
        This method validates the given value.
        Parameters:
        value - is the value to validate.
        valueSource - is the source describing the origin of the given value. The source needs to have a reasonable string-representation as this may be displayed to the end-user to locate the source of the failure. In most cases it is suitable to directly pass a String.
        Returns:
        the ValidationResult.