Package io.github.mmm.validation.main
Class ObjectValidatorBuilderFactory<PARENT>
java.lang.Object
io.github.mmm.validation.main.ObjectValidatorBuilderFactory<PARENT>
- Type Parameters:
PARENT
- the generic type of theparent
.
- Direct Known Subclasses:
ObjectValidatorBuilderFactory.BuilderFactory
This is the interface for instances of
ObjectValidatorBuilder
.- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Implementation ofObjectValidatorBuilderFactory
withoutparent
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> ValidatorBuilderCollection
<E, PARENT> create
(Collection<E> v) <K,
V> ValidatorBuilderMap <K, V, PARENT> <E> ValidatorBuilderCollection
<E, PARENT> createCollection
(E v) protected PARENT
-
Constructor Details
-
ObjectValidatorBuilderFactory
The constructor.- Parameters:
parent
- - seegetParent()
.
-
-
Method Details
-
getParent
- Returns:
- the parent builder or
null
ifVoid
.
-
create
- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderCharSequence
.
-
create
- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderString
.
-
create
- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderBoolean
.
-
create
- Type Parameters:
E
- the generic type of theelements contained
in theCollection
to validate.- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderCollection
.
-
create
- Type Parameters:
K
- the generic type of thekeys
.V
- the generic type of thevalues
.- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderCollection
.
-
createCollection
- Type Parameters:
E
- the generic type of theelements contained
in theCollection
to validate.- Parameters:
v
- the value for type inference. Will be ignored and may benull
.- Returns:
- the
ValidatorBuilderCollection
.
-
getInstance
- Returns:
- the signleton instance of this factory without
parent
.
-