Package de.isas.mztab2.io.validators
Class StudyVariableValidator
- java.lang.Object
-
- de.isas.mztab2.io.validators.StudyVariableValidator
-
- All Implemented Interfaces:
MetadataValidator<Metadata>
public class StudyVariableValidator extends Object implements MetadataValidator<Metadata>
Validates that the study variable section is present in metadata and is linked to all assays and ms runs.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description StudyVariableValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MZTabError>
validateRefine(Metadata metadata, MZTabParserContext parserContext)
Validate the given object of type T, using the provided parser context to check state of not yet completely parsed and constructed mzTab hierarchy.
-
-
-
Constructor Detail
-
StudyVariableValidator
public StudyVariableValidator()
-
-
Method Detail
-
validateRefine
public List<MZTabError> validateRefine(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 interfaceMetadataValidator<Metadata>
- Parameters:
metadata
- the object to validateparserContext
- the parser context- Returns:
- a list of
MZTabError
, maybe empty.
-
-