public class ValidatorMapSize extends AbstractValidatorRange<Map<?,?>,Integer>
CODE
PROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM
Constructor and Description |
---|
ValidatorMapSize(int maxLength)
The constructor.
|
ValidatorMapSize(Range<Integer> range)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
convertValue(Map<?,?> value)
Converts the value to the type of the range.
|
equals, getCode, getProperty, hashCode, validateNotNull
validate, validateNull
append, contains, createBundle, isDynamic, isMandatory, validate
public ValidatorMapSize(Range<Integer> range)
range
- is the Range
the value has to be contained in
.protected Integer convertValue(Map<?,?> value)
AbstractValidatorRange
convertValue
in class AbstractValidatorRange<Map<?,?>,Integer>
value
- is the value to convert.Copyright © 2001–2016 mmm-Team. All rights reserved.