| Modifier and Type | Method and Description |
|---|---|
| public ConstraintDescriptor | Returns: constraint metadataReturns the constraint metadata reported to fail. |
| public Object[] | Returns: parameters of the method or constructor invocation ornullReturns an |
| public Object | Returns: the method or constructor return value ornullReturns the return value of the constructor or method invocation
if the |
| public Object | Returns: the value failing to pass the constraintReturns the value failing to pass the constraint. |
| public Object | Returns: the leaf beanReturns:
|
| public String | |
| public String | |
| public Path | |
| public T | Returns: the validated object, the object hosting the validated element ornullReturns the root bean being validated. |
| public Class | Returns: the class of the root bean or of the object hosting the validated elementReturns the class of the root bean being validated. |
| public < the type of the object to be returned U> U |
| getConstraintDescriptor | back to summary |
|---|---|
| public ConstraintDescriptor Returns the constraint metadata reported to fail. The returned instance is immutable.
| |
| getExecutableParameters | back to summary |
|---|---|
| public Object[] getExecutableParameters() Returns an
| |
| getExecutableReturnValue | back to summary |
|---|---|
| public Object getExecutableReturnValue() Returns the return value of the constructor or method invocation
if the
Returns
| |
| getInvalidValue | back to summary |
|---|---|
| public Object getInvalidValue() Returns the value failing to pass the constraint.
For cross-parameter constraints, an
| |
| getLeafBean | back to summary |
|---|---|
| public Object getLeafBean() Returns:
| |
| getMessage | back to summary |
|---|---|
public String getMessage()
| |
| getMessageTemplate | back to summary |
|---|---|
public String getMessageTemplate()
| |
| getPropertyPath | back to summary |
|---|---|
public Path getPropertyPath()
| |
| getRootBean | back to summary |
|---|---|
| public T getRootBean() Returns the root bean being validated. For method validation, returns the object the method is executed on.
Returns
| |
| getRootBeanClass | back to summary |
|---|---|
| public Class Returns the class of the root bean being validated. For method validation, this is the object class the method is executed on. For constructor validation, this is the class the constructor is declared on.
| |
| unwrap | back to summary |
|---|---|
| public <U> U unwrap(Class<U> type) Returns an instance of the specified type allowing access to
provider-specific APIs. If the Jakarta Bean Validation provider
implementation does not support the specified class,
| |