Reimplemented NotEmpty annotation for increased compatibility with bean
validation API implementations.