public class RawBioAssayValidator extends NameableNodeValidator<RawBioAssay>
Validator.NONDEFAULT_RAWDATATYPE
Validator.PARENT_EXTRACT_MISMATCH
Validator.NONMATCHING_SPOTCOUNT
.
Constructor and Description |
---|
RawBioAssayValidator() |
Modifier and Type | Method and Description |
---|---|
protected Fix |
getMissingItemFix(DbControl dc,
Node parentNode)
Subclasses should override this method if they have a suggessted fix
for a missing item problem.
|
void |
postValidate(DbControl dc,
OverviewContext context,
Node node,
Node parentNode)
Do nothing.
|
getDeniedItemFix, postDeniedItem, postMissingItem, postValidateFolder, preDeniedItem, preMissingItem, preValidate
public void postValidate(DbControl dc, OverviewContext context, Node node, Node parentNode)
BasicNodeValidator
postValidate
in interface NodeValidator<RawBioAssay>
postValidate
in class NameableNodeValidator<RawBioAssay>
dc
- A DbControl to use if the validation needs to access the databasecontext
- The current overview contextnode
- The node object that represents itemparentNode
- The parent node that is linked with the itemprotected Fix getMissingItemFix(DbControl dc, Node parentNode)
BasicNodeValidator
new Fix("Add item to parent", parentNode.getItem())
getMissingItemFix
in class BasicNodeValidator<RawBioAssay>