Class DecimalMaxValidatorForBigDecimal
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator<BigDecimal>
org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.DecimalMaxValidatorForBigDecimal
- All Implemented Interfaces:
ConstraintValidator<DecimalMax,
BigDecimal>
Check that the number being validated is less than or equal to the maximum
value specified.
- Author:
- Marko Bekhta
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator
maxValue
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator
initialize, isValid
-
Constructor Details
-
DecimalMaxValidatorForBigDecimal
public DecimalMaxValidatorForBigDecimal()
-
-
Method Details
-
compare
- Specified by:
compare
in classAbstractDecimalMaxValidator<BigDecimal>
-