Class OrValidationHandler
- java.lang.Object
-
- de.isas.mztab2.validation.handlers.OrValidationHandler
-
- All Implemented Interfaces:
CvTermValidationHandler
public class OrValidationHandler extends Object implements CvTermValidationHandler
Implements 'OR' logic, meaning alternative possible terms or term roots for an object may be present.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description OrValidationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<de.isas.mztab2.model.ValidationMessage>
handleParameters(RuleEvaluationResult result, boolean errorOnTermNotInRule)
Implementations of this method should take care that they always return a list, even if it is empty.
-
-
-
Method Detail
-
handleParameters
public List<de.isas.mztab2.model.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:
-
-