Class InputEvaluationRequiredValidator
java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.optional.qualification.impl.validator.InputEvaluationRequiredValidator
- All Implemented Interfaces:
EntitiesValidator
ensures every Input has a related Evaluation
see TOCDEV-1007, this validator mainly exists to discover the source of incorrect relation handling in the system
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
addMyself, getName
-
Constructor Details
-
InputEvaluationRequiredValidator
public InputEvaluationRequiredValidator()
-
-
Method Details
-
validate
Description copied from interface:EntitiesValidator
Validate all entities (of one entity model) that where changed in a transaction- Parameters:
inputs
- the entities to be validatedvalidationResults
- a map of EntityValidationResults, contains anEntityValidationResult
for each entity. SeeEntityValidationResult
for more details on how to use the EntityValidationResult
-