public interface BeanValidator
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Message> | validate(java.lang.Object object,
        java.lang.Class<?>... groups)Validate the bean and return a list of messages if has constraint violations. | 
| java.util.List<Message> | validateProperties(java.lang.Object object,
                  java.lang.String... properties)Validate the specified bean's properties and return a list of messages if has constraint violations. | 
java.util.List<Message> validate(java.lang.Object object, java.lang.Class<?>... groups)
object - The object to be validated.groups - The groups that must be validated.java.util.List<Message> validateProperties(java.lang.Object object, java.lang.String... properties)
object - The object to be validated.properties - The properties that must be validated.Copyright © 2013 Caelum. All Rights Reserved.