Class XorValidationHandler

  • All Implemented Interfaces:
    CvTermValidationHandler

    public class XorValidationHandler
    extends Object
    implements CvTermValidationHandler
    Implements 'XOR' logic, meaning mutually exclusive alternative possible terms or term roots for an object are allowed.
    Author:
    nilshoffmann
    • Constructor Detail

      • XorValidationHandler

        public XorValidationHandler()
    • 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: