Class IntegerRangeValidator
- java.lang.Object
-
- com._1c.g5.v8.dt.common.databinding.validation.Validator<Integer>
-
- com._1c.g5.v8.dt.common.databinding.validation.IntegerRangeValidator
-
-
Constructor Summary
Constructors Constructor Description IntegerRangeValidator(int minValue, int maxValue)
Instantiates a new integer range validator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxValue()
int
getMinValue()
protected ValidationResults
typedValidate(Integer value)
Does the actual validation.
-
-
-
Method Detail
-
getMinValue
public int getMinValue()
- Returns:
- the min range value.
-
getMaxValue
public int getMaxValue()
- Returns:
- the max range value.
-
typedValidate
protected ValidationResults typedValidate(Integer value)
Description copied from class:Validator
Does the actual validation.- Overrides:
typedValidate
in classValidator<Integer>
- Parameters:
value
- value to validate.- Returns:
- validation results.
-
-