Package org.apache.bval.constraints
Class DecimalMaxValidator<T>
- java.lang.Object
-
- org.apache.bval.constraints.DecimalMaxValidator<T>
-
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,T>
- Direct Known Subclasses:
DecimalMaxValidator.ForNumber
,DecimalMaxValidator.ForString
public abstract class DecimalMaxValidator<T> extends Object implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DecimalMaxValidator.ForNumber
static class
DecimalMaxValidator.ForString
-
Constructor Summary
Constructors Constructor Description DecimalMaxValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(jakarta.validation.constraints.DecimalMax annotation)
protected boolean
isValid(BigDecimal value)
-
-
-
Method Detail
-
initialize
public void initialize(jakarta.validation.constraints.DecimalMax annotation)
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,T>
-
isValid
protected boolean isValid(BigDecimal value)
-
-