| Modifier and Type | Method and Description |
|---|---|
| public < the type hosting the constructor to validate T> Set | Returns: a set with the constraint violations caused by this validation; Will be empty if no error occurs, but nevernullthe constructor for which the parameter constraints is validated constructor, Object[] the values provided by the caller for the given constructor's
parameters parameterValues, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default)Validates all constraints placed on the parameters of the given constructor. |
| public < the type hosting the constructor to validate T> Set | Returns: a set with the constraint violations caused by this validation; will be empty, if no error occurs, but nevernullthe constructor for which the return value constraints is validated constructor, T the object instantiated by the given method createdObject, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default)Validates all return value constraints of the given constructor. |
| public < the type hosting the method to validate T> Set | Returns: a set with the constraint violations caused by this validation; will be empty if no error occurs, but nevernullthe object on which the method to validate is invoked object, Method the method for which the parameter constraints is validated method, Object[] the values provided by the caller for the given method's
parameters parameterValues, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default)Validates all constraints placed on the parameters of the given method. |
| public < the type hosting the method to validate T> Set | Returns: a set with the constraint violations caused by this validation; will be empty if no error occurs, but nevernullthe object on which the method to validate is invoked object, Method the method for which the return value constraints is validated method, Object the value returned by the given method returnValue, Class<?>... the group or list of groups targeted for validation (defaults to
groups)Default)Validates all return value constraints of the given method. |
| validateConstructorParameters | back to summary |
|---|---|
| public <T> Set Validates all constraints placed on the parameters of the given constructor.
| |
| validateConstructorReturnValue | back to summary |
|---|---|
| public <T> Set Validates all return value constraints of the given constructor.
| |
| validateParameters | back to summary |
|---|---|
| public <T> Set Validates all constraints placed on the parameters of the given method.
| |
| validateReturnValue | back to summary |
|---|---|
| public <T> Set Validates all return value constraints of the given method.
| |