V - the generic type of the value to validate.PARENT - the generic type of the parent builder.SELF - the generic type of this builder itself (this).public class NumberValidatorBuilder<V extends Number & Comparable,PARENT,SELF extends CompareableValidatorBuilder<V,PARENT,SELF>> extends CompareableValidatorBuilder<V,PARENT,SELF>
| Constructor and Description |
|---|
NumberValidatorBuilder(PARENT parent)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SELF |
range(String min,
String max)
This method allows to define a range in a generic way.
|
rangeadd, and, build, getValidators, mandatory, selfpublic SELF range(String min, String max)
ObjectValidatorBuilderCompareableValidatorBuilder.range(net.sf.mmm.util.value.api.Range) instead.range in class ObjectValidatorBuilder<V extends Number & Comparable,PARENT,SELF extends CompareableValidatorBuilder<V,PARENT,SELF>>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.