Class 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 Detail

      • AndValidationHandler

        public AndValidationHandler()
    • 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 interface CvTermValidationHandler
        Parameters:
        result - the validation messages produced by this handler.
        errorOnTermNotInRule - flag to signal, whether unknown terms should yield an error.
        Returns: