Adding consistent method for beans validation.

Added consistent hasBeanViolation(String) method.
I believe this API can be revised also.