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