PARENT
- the generic type of the parent builder
.public class ValidatorBuilderObject<PARENT> extends ObjectValidatorBuilder<Object,PARENT,ValidatorBuilderObject<PARENT>>
Constructor and Description |
---|
ValidatorBuilderObject(PARENT parent)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidatorBuilderObject<PARENT> |
range(String min,
String max)
This method allows to define a range in a generic way.
|
add, and, build, getValidators, mandatory, self
public ValidatorBuilderObject<PARENT> range(String min, String max)
ObjectValidatorBuilder
CompareableValidatorBuilder.range(net.sf.mmm.util.value.api.Range)
instead.range
in class ObjectValidatorBuilder<Object,PARENT,ValidatorBuilderObject<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.