Package io.github.mmm.validation.main
Class ComparableValidatorBuilder<V extends Comparable<?>,PARENT,SELF extends ComparableValidatorBuilder<V,PARENT,SELF>>
java.lang.Object
io.github.mmm.validation.main.ObjectValidatorBuilder<V,PARENT,SELF>
io.github.mmm.validation.main.ComparableValidatorBuilder<V,PARENT,SELF>
- Type Parameters:
V
- the generic type of the value tovalidate
.PARENT
- the generic type of theparent builder
.SELF
- the generic type of this builder itself (this).
- All Implemented Interfaces:
io.github.mmm.base.lang.Builder<Validator<? super V>>
,ValidatorRegistry<V,
SELF>
- Direct Known Subclasses:
NumberValidatorBuilder
,ValidatorBuilderTemporal
public abstract class ComparableValidatorBuilder<V extends Comparable<?>,PARENT,SELF extends ComparableValidatorBuilder<V,PARENT,SELF>>
extends ObjectValidatorBuilder<V,PARENT,SELF>
- Since:
- 1.0.0
-
Constructor Details
-
ComparableValidatorBuilder
The constructor.- Parameters:
parent
- theparent
builder.
-
-
Method Details
-
range
- Parameters:
range
- theRange
to limit the value (or its size).- Returns:
- this build instance for fluent API calls.
- See Also:
-
range
- Parameters:
min
- the minimum value.max
- the maximum value.- Returns:
- this build instance for fluent API calls.
- See Also:
-