| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final Log | |
| protected BigDecimal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract int | |
| public void | initialize(DecimalMax
annotation instance for a given constraint declaration maxValue)Overrides default jakarta. isValid(Object, ConstraintValidatorContext) calls.
|
| public boolean | isValid(T
object to validate value, ConstraintValidatorContext context in which the constraint is evaluated constraintValidatorContext)Implements jakarta. |
| inclusive | back to summary |
|---|---|
| private boolean inclusive | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| maxValue | back to summary |
|---|---|
| protected BigDecimal maxValue | |
| AbstractDecimalMaxValidator | back to summary |
|---|---|
| public AbstractDecimalMaxValidator() | |
| compare | back to summary |
|---|---|
| protected abstract int compare(T number) | |
| initialize | back to summary |
|---|---|
| public void initialize(DecimalMax maxValue) Overrides default jakarta. Doc from jakarta. Initializes the validator in preparation for
This method is guaranteed to be called before any use of this instance for validation. The default implementation is a no-op.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid(T value, ConstraintValidatorContext constraintValidatorContext) Implements jakarta. Doc from jakarta. Implements the validation logic.
The state of This method can be accessed concurrently, thread-safety must be ensured by the implementation.
| |