Class StudyVariableValidator

  • All Implemented Interfaces:
    MetadataValidator<de.isas.mztab2.model.Metadata>

    public class StudyVariableValidator
    extends Object
    implements MetadataValidator<de.isas.mztab2.model.Metadata>
    Validates that the study variable section is present in metadata and is linked to all assays and ms runs.
    Author:
    nilshoffmann
    • Method Detail

      • validateRefine

        public List<uk.ac.ebi.pride.jmztab2.utils.errors.MZTabError> validateRefine​(de.isas.mztab2.model.Metadata metadata,
                                                                                    MZTabParserContext parserContext)
        Description copied from interface: MetadataValidator
        Validate the given object of type T, using the provided parser context to check state of not yet completely parsed and constructed mzTab hierarchy.
        Specified by:
        validateRefine in interface MetadataValidator<de.isas.mztab2.model.Metadata>
        Parameters:
        metadata - the object to validate
        parserContext - the parser context
        Returns:
        a list of MZTabError, maybe empty.