@Deprecated public class BigIntegerRangeValidator extends RangeValidator<BigInteger>
BigInteger
is inside a given range.Validator.EmptyValueException, Validator.InvalidValueException
Constructor and Description |
---|
BigIntegerRangeValidator(String errorMessage,
BigInteger minValue,
BigInteger maxValue)
Deprecated.
Creates a validator for checking that an BigInteger is within a given
range.
|
getMaxValue, getMinValue, getType, isMaxValueIncluded, isMinValueIncluded, isValidValue, setMaxValue, setMaxValueIncluded, setMinValue, setMinValueIncluded
getErrorMessage, isValid, isValidType, setErrorMessage, validate
public BigIntegerRangeValidator(String errorMessage, BigInteger minValue, BigInteger maxValue)
RangeValidator.setMinValueIncluded(boolean)
or
RangeValidator.setMaxValueIncluded(boolean)
to change it.errorMessage
- the message to display in case the value does not validate.minValue
- The minimum value to accept or null for no limitmaxValue
- The maximum value to accept or null for no limitCopyright © 2020 Vaadin Ltd. All rights reserved.