| |
|
| java.lang.Object org.iscreen.BaseValidator org.iscreen.validators.NumberRangeValidator
NumberRangeValidator | public class NumberRangeValidator extends BaseValidator (Code) | | This validator verifies that a passed in java.lang.Number is within
a certain range.
This validator takes two constraints:
minimumValue - The smallest number the value can be.
maximumValue - The largest number the value can be (-1 means infinite).
This validator takes two failure messages:
rangeFailure - Failure when the value it outside the range.
invalidNumberFailure - Failure when the value is not a java.lang.Number.
author: Shellman, Dan |
NumberRangeValidator | public NumberRangeValidator()(Code) | | Default constructor.
|
setMaximumValue | public void setMaximumValue(Integer maxValue)(Code) | | |
setMinimumValue | public void setMinimumValue(Integer minValue)(Code) | | |
|
|
|