'Set the validator for this column attribute.
Returns ``self`` so that this can be used as a decorator, as described
in the docs for this class.'

def __call__(self, func):

    self._validator = func
    return self
