| Modifier and Type | Method and Description |
|---|---|
| public ExecutableValidator | Returns: contract for method and constructor validationReturns the contract for validating parameters and return values of methods and constructors. |
| public BeanDescriptor | Returns: the bean descriptor for the specified classclass or interface type evaluated clazz)Returns the descriptor object describing bean constraints. |
| public < the type of the object to be returned T> T | |
| public < the type of the object to validate T> Set | |
| public < the type of the object to validate T> Set | Returns: constraint violations or an empty set if noneobject to validate object, String property to validate (i.e. field and getter constraints) propertyName, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default)Validates all constraints placed on the property of |
| public < the type of the object to validate T> Set | Returns: constraint violations or an empty set if nonethe bean type beanType, String property to validate propertyName, Object property value to validate value, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default).Validates all constraints placed on the property named |
| forExecutables | back to summary |
|---|---|
| public ExecutableValidator forExecutables() Returns the contract for validating parameters and return values of methods and constructors.
| |
| getConstraintsForClass | back to summary |
|---|---|
| public BeanDescriptor getConstraintsForClass(Class<?> clazz) Returns the descriptor object describing bean constraints.
The returned object (and associated objects including
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> type) Returns an instance of the specified type allowing access to provider-specific APIs.
If the Bean Validation provider implementation does not support
the specified class,
| |
| validate | back to summary |
|---|---|
| public <T> Set Validates all constraints on
| |
| validateProperty | back to summary |
|---|---|
| public <T> Set Validates all constraints placed on the property of
| |
| validateValue | back to summary |
|---|---|
| public <T> Set Validates all constraints placed on the property named
| |