E
- the generic type of the elements contained
in the Collection
.PARENT
- the generic type of the parent builder
.public class ValidatorBuilderCollection<E,PARENT> extends AbstractCollectionValidatorBuilder<E,Collection<E>,PARENT,ValidatorBuilderCollection<E,PARENT>>
Constructor and Description |
---|
ValidatorBuilderCollection(PARENT parent)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidatorBuilderCollection<E,PARENT> |
range(String min,
String max)
This method allows to define a range in a generic way.
|
build, max, size, size, with
getSubFactory
add, and, getValidators, mandatory, self
public ValidatorBuilderCollection<E,PARENT> range(String min, String max)
ObjectValidatorBuilder
CompareableValidatorBuilder.range(net.sf.mmm.util.value.api.Range)
instead.range
in class ObjectValidatorBuilder<Collection<E>,PARENT,ValidatorBuilderCollection<E,PARENT>>
min
- the minimum value allowed or null
for no lower bound.max
- the maximum value allowed or null
for no upper bound.Copyright © 2001–2016 mmm-Team. All rights reserved.