Class MinValidatorForCharSequence
- java.lang.Object
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.AbstractMinValidator<CharSequence>
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.MinValidatorForCharSequence
-
- All Implemented Interfaces:
ConstraintValidator<Min,CharSequence>
public class MinValidatorForCharSequence extends AbstractMinValidator<CharSequence>
Check that the character sequence (e.g. string) being validated represents a number, and has a value more than or equal to the minimum value specified.- Author:
- Alaa Nassef, Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Guillaume Smet
-
-
Field Summary
-
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.AbstractMinValidator
minValue
-
-
Constructor Summary
Constructors Constructor Description MinValidatorForCharSequence()
-
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.AbstractMinValidator
initialize, isValid
-
-
-
-
Method Detail
-
compare
protected int compare(CharSequence number)
- Specified by:
comparein classAbstractMinValidator<CharSequence>
-
-