Class CompoundNiceModelValidator
java.lang.Object
ch.tocco.nice2.model.entity.impl.validate.CompoundNiceModelValidator
- All Implemented Interfaces:
NiceModelValidator
Collects multiple validators to one.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(NiceModelValidator validator) void
addAll
(Iterable<NiceModelValidator> validators) void
clear()
void
validate
(EntityModel entity) void
validate
(FieldModel field) void
validate
(RelationModel relation)
-
Constructor Details
-
CompoundNiceModelValidator
public CompoundNiceModelValidator() -
CompoundNiceModelValidator
-
-
Method Details
-
addAll
-
add
-
clear
public void clear() -
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-
validate
- Specified by:
validate
in interfaceNiceModelValidator
- Throws:
ModelValidationException
-