public class ValidatorArrayLength extends AbstractValidatorRange<Object,Integer>
CODE
PROPERTY_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, validateNotNull
validate, validateNull
append, contains, createBundle, isDynamic, isMandatory, validate
public ValidatorArrayLength(Range<Integer> range)
range
- is the Range
the value has to be contained in
.protected Integer convertValue(Object value)
AbstractValidatorRange
convertValue
in class AbstractValidatorRange<Object,Integer>
value
- is the value to convert.Copyright © 2001–2016 mmm-Team. All rights reserved.