Class DecimalMaxValidatorForShort
- java.lang.Object
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator<Short>
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.DecimalMaxValidatorForShort
-
- All Implemented Interfaces:
ConstraintValidator<DecimalMax,Short>
public class DecimalMaxValidatorForShort extends AbstractDecimalMaxValidator<Short>
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 Constructor Description DecimalMaxValidatorForShort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompare(Short number)-
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.decimal.AbstractDecimalMaxValidator
initialize, isValid
-
-
-
-
Method Detail
-
compare
protected int compare(Short number)
- Specified by:
comparein classAbstractDecimalMaxValidator<Short>
-
-