Class AndValidationHandler
- java.lang.Object
-
- de.isas.mztab2.validation.handlers.AndValidationHandler
-
- All Implemented Interfaces:
CvTermValidationHandler
public class AndValidationHandler extends Object implements CvTermValidationHandler
Implements 'AND' logic, meaning all alternative possible terms or term roots for an object must occur.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description AndValidationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ValidationMessage>
handleParameters(RuleEvaluationResult result, boolean errorOnTermNotInRule)
Implementations of this method should take care that they always return a list, even if it is empty.
-
-
-
Constructor Detail
-
AndValidationHandler
public AndValidationHandler()
-
-
Method Detail
-
handleParameters
public List<ValidationMessage> handleParameters(RuleEvaluationResult result, boolean errorOnTermNotInRule)
Description copied from interface:CvTermValidationHandler
Implementations of this method should take care that they always return a list, even if it is empty.- Specified by:
handleParameters
in interfaceCvTermValidationHandler
- Parameters:
result
- the validation messages produced by this handler.errorOnTermNotInRule
- flag to signal, whether unknown terms should yield an error.- Returns:
-
-