Class DecimalMaxValidatorForCharSequence
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator<CharSequence>
org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.DecimalMaxValidatorForCharSequence
- All Implemented Interfaces:
ConstraintValidator<DecimalMax,
CharSequence>
Check that the character sequence (e.g. string) being validated represents a number, and has a value
less than or equal to the maximum value specified.
- Author:
- Alaa Nassef, Guillaume Smet
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator
maxValue
-
Constructor Summary
-
Method Summary
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator
initialize, isValid
-
Constructor Details
-
DecimalMaxValidatorForCharSequence
public DecimalMaxValidatorForCharSequence()
-
-
Method Details
-
compare
- Specified by:
compare
in classAbstractDecimalMaxValidator<CharSequence>
-