Package de.isas.mztab2.io.validators
Class SmallMoleculeQuantificationUnitValidator
- java.lang.Object
-
- de.isas.mztab2.io.validators.SmallMoleculeQuantificationUnitValidator
-
- All Implemented Interfaces:
RefiningValidator<Metadata>
public class SmallMoleculeQuantificationUnitValidator extends Object implements RefiningValidator<Metadata>
Validates that smallMoleculeQuantificationUnit is neither null nor empty.- Author:
- nilshoffmann
-
-
Constructor Summary
Constructors Constructor Description SmallMoleculeQuantificationUnitValidator()
-
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
-
SmallMoleculeQuantificationUnitValidator
public SmallMoleculeQuantificationUnitValidator()
-
-
Method Detail
-
validateRefine
public List<MZTabError> validateRefine(Metadata metadata, MZTabParserContext parserContext)
Description copied from interface:RefiningValidator
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 interfaceRefiningValidator<Metadata>
- Parameters:
metadata
- the object to validateparserContext
- the parser context- Returns:
- a list of
MZTabError
, maybe empty.
-
-