| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the annotation for this constraintReturns the annotation describing the constraint declaration. |
| public Map | Returns: a map containing the annotation attribute names as keys and the annotation attribute values as valueReturns a map containing the annotation attribute names as keys and the annotation attribute values as value. |
| public Set | Returns: a set ofConstraintDescriptor objects or an empty set
in case there are no composing constraintsReturn a set of composing |
| public List | Returns: list of the constraint validation implementation classesList of the constraint validation implementation classes. |
| public Set | Returns: the groups the constraint is applied onThe set of groups the constraint is applied on. |
| public String | |
| public Set | Returns: payload classes hosted on the constraint or an empty set if noneThe set of payload the constraint hosts. |
| public ConstraintTarget | Returns: theConstraintTarget value or nullThe |
| public ValidateUnwrappedValue | Returns: aValidateUnwrappedValue describing the unwrapping behavior as given
via the Unwrapping constraint payloads.
|
| public boolean | |
| public < the type of the object to be returned U> U |
| getAnnotation | back to summary |
|---|---|
| public T getAnnotation() Returns the annotation describing the constraint declaration. If a composing constraint, attribute values are reflecting the overridden attributes of the composing constraint
| |
| getAttributes | back to summary |
|---|---|
| public Map Returns a map containing the annotation attribute names as keys and the annotation attribute values as value. If this constraint is used as part of a composed constraint, attribute values are reflecting the overridden attribute of the composing constraint. | |
| getComposingConstraints | back to summary |
|---|---|
| public Set Return a set of composing
| |
| getConstraintValidatorClasses | back to summary |
|---|---|
| public List List of the constraint validation implementation classes.
| |
| getGroups | back to summary |
|---|---|
| public Set The set of groups the constraint is applied on.
If the constraint declares no group, a set with only the | |
| getMessageTemplate | back to summary |
|---|---|
| public String getMessageTemplate() The non-interpolated error message
| |
| getPayload | back to summary |
|---|---|
| public Set The set of payload the constraint hosts. | |
| getValidationAppliesTo | back to summary |
|---|---|
| public ConstraintTarget getValidationAppliesTo() The
| |
| getValueUnwrapping | back to summary |
|---|---|
public ValidateUnwrappedValue getValueUnwrapping()
| |
| isReportAsSingleViolation | back to summary |
|---|---|
public boolean isReportAsSingleViolation()
| |
| 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 Validation provider implementation does not support the specified class,
a
| |