Class DecimalMinValidatorForCharSequence
- java.lang.Object
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMinValidator<CharSequence>
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.DecimalMinValidatorForCharSequence
-
- All Implemented Interfaces:
ConstraintValidator<DecimalMin,CharSequence>
public class DecimalMinValidatorForCharSequence extends AbstractDecimalMinValidator<CharSequence>
Check that the character sequence (e.g. string) being validated represents a number, and has a value greater than or equal to the minimum value specified.- Author:
- Hardy Ferentschik, Guillaume Smet
-
-
Field Summary
-
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMinValidator
minValue
-
-
Constructor Summary
Constructors Constructor Description DecimalMinValidatorForCharSequence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompare(CharSequence number)-
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMinValidator
initialize, isValid
-
-
-
-
Method Detail
-
compare
protected int compare(CharSequence number)
- Specified by:
comparein classAbstractDecimalMinValidator<CharSequence>
-
-