public class ValidatorArrayLength extends AbstractValidatorRange<Object,Integer>
CODEPROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM| Constructor and Description |
|---|
ValidatorArrayLength(int maxLength)
The constructor.
|
ValidatorArrayLength(Range<Integer> range)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
convertValue(Object value)
Converts the value to the type of the range.
|
equals, getCode, getProperty, hashCode, validateNotNullvalidate, validateNullappend, contains, createBundle, isDynamic, isMandatory, validatepublic ValidatorArrayLength(Range<Integer> range)
range - is the Range the value has to be contained in.protected Integer convertValue(Object value)
AbstractValidatorRangeconvertValue in class AbstractValidatorRange<Object,Integer>value - is the value to convert.Copyright © 2001–2016 mmm-Team. All rights reserved.