Class NegativeValidatorForBigInteger
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.number.sign.NegativeValidatorForBigInteger
- All Implemented Interfaces:
ConstraintValidator<Negative,
BigInteger>
public class NegativeValidatorForBigInteger
extends Object
implements ConstraintValidator<Negative,BigInteger>
Check that the number being validated is negative.
- Author:
- Hardy Ferentschik, Xavier Sosnovsky, Guillaume Smet, Marko Bekhta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid
(BigInteger value, ConstraintValidatorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.validation.ConstraintValidator
initialize
-
Constructor Details
-
NegativeValidatorForBigInteger
public NegativeValidatorForBigInteger()
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfaceConstraintValidator<Negative,
BigInteger>
-