Class ValidatorBuilderMap<K,V,PARENT>
java.lang.Object
io.github.mmm.validation.main.ObjectValidatorBuilder<V,PARENT,SELF>
io.github.mmm.validation.main.ContainerValidatorBuilder<M,PARENT,SELF>
io.github.mmm.validation.collection.AbstractMapValidatorBuilder<K,V,Map<K,V>,PARENT,ValidatorBuilderMap<K,V,PARENT>>
io.github.mmm.validation.collection.ValidatorBuilderMap<K,V,PARENT>
- Type Parameters:
K- the generic type of thekeys.V- the generic type of thevalues.PARENT- the generic type of theparent builder.
- All Implemented Interfaces:
io.github.mmm.base.lang.Builder<Validator<? super Map<K,,V>>> ValidatorRegistry<Map<K,V>, ValidatorBuilderMap<K, V, PARENT>>
public class ValidatorBuilderMap<K,V,PARENT>
extends AbstractMapValidatorBuilder<K,V,Map<K,V>,PARENT,ValidatorBuilderMap<K,V,PARENT>>
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.mmm.validation.collection.AbstractMapValidatorBuilder
build, max, size, size, withKeys, withValuesMethods inherited from class io.github.mmm.validation.main.ContainerValidatorBuilder
getSubFactoryMethods inherited from class io.github.mmm.validation.main.ObjectValidatorBuilder
add, add, and, getValidators, mandatory, max, min, self
-
Constructor Details
-
ValidatorBuilderMap
The constructor.- Parameters:
parent- theparentbuilder.
-
-
Method Details
-
range
Description copied from class:ObjectValidatorBuilderThis method allows to define a range in a generic way. If you have a properly typed builder please use more specific methods such asComparableValidatorBuilder.range(io.github.mmm.base.range.Range)instead.- Specified by:
rangein classObjectValidatorBuilder<Map<K,V>, PARENT, ValidatorBuilderMap<K, V, PARENT>> - Parameters:
min- the minimum value allowed ornullfor no lower bound.max- the maximum value allowed ornullfor no upper bound.- Returns:
- this build instance for fluent API calls.
-