|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.overview.Validator
public class Validator
Placeholder for a validation rule. An object instance contains a name and description of the validation and a default severity level.
The actual validation takes place in the overview generating code.
See implementations of NodeValidator
interface.
Field Summary | |
---|---|
static Validator |
ANNOTATION_INHERIT_FROM_DENIEDPARENT
Validator rule that checks if the logged in user has access to the parent item of an inherited annotation value. |
static Validator |
ANNOTATION_INHERIT_FROM_NONPARENT
Validator rule that checks if an inherited annotation value is inherited from a parent item. |
static Validator |
ANNOTATION_INHERIT_MULTIPLE
Validator rule that checks if two or more inherited annotations have the same annotation type. |
static Validator |
ANNOTATION_INVALID_ITEM
Validator rule that checks if an annotation is not valid for the current item type. |
static Validator |
ANNOTATION_INVALID_VALUE
Validator rule that checks if an annotation value is invalid according to annotation type specification. |
static Validator |
ANNOTATION_IS_PARAMETER
Validator rule that checks if an annotation is a protocol parameter. |
static Validator |
CIRCULAR_REFERENCE
Validator rule that checks for circular references among pooled items. |
static Validator |
DATAFILE_INVALID
Validator rule that checks if a data file is valid. |
static Validator |
DATAFILE_INVALID_ITEM
Validator rule that checks if a data file can be used on the current item type. |
static Validator |
DATAFILE_NOTPLATFORM
Validator rule that checks if all files required by the platform are present or not. |
static Validator |
DATAFILE_NOTVALIDATED
Validator rule that checks if a data file has been validated or not. |
private Severity |
defaultSeverity
|
static Validator |
DENIED_ANNOTATIONTYPE
Validator rule that checks for denied access to an annotation type. |
static Validator |
DENIED_ANYTOANY
Validator rule that checks for denied access the referenced item in an any-to-any link. |
static Validator |
DENIED_ARRAYBATCH
Validator rule that checks for denied access to an array batch. |
static Validator |
DENIED_ARRAYDESIGN
Validator rule that checks for denied access to an array design. |
static Validator |
DENIED_ARRAYSLIDE
Validator rule that checks for denied access to array slides. |
static Validator |
DENIED_BIOSOURCE
Validator rule that checks for denied access to biosource. |
static Validator |
DENIED_DATAFILETYPE
Validator rule that checks for denied access to data file types. |
static Validator |
DENIED_EXTRACT
Validator rule that checks for denied access to extracts. |
static Validator |
DENIED_FILE
Validator rule that checks for denied access to (data) files. |
static Validator |
DENIED_HARDWARE
Validator rule that checks for denied access to hardware. |
static Validator |
DENIED_HYBRIDIZATION
Validator rule that checks for denied access to hybridization. |
static Validator |
DENIED_LABEL
Validator rule that checks for denied access to labels. |
static Validator |
DENIED_PLATFORM
Validator rule that checks for denied access to platform. |
static Validator |
DENIED_PROTOCOL
Validator rule that checks for denied access to protocols. |
static Validator |
DENIED_SAMPLE
Validator rule that checks for denied access to samples. |
static Validator |
DENIED_SCAN
Validator rule that checks for denied access to scans. |
static Validator |
DENIED_SOFTWARE
Validator rule that checks for denied access to software. |
private String |
description
|
static Validator |
DIFFERENT_LABEL
Validator rule that checks if a parent to a pooled labeled extract has the same lebel. |
static Validator |
DUPLICATE_ARRAY_NUM
Validator rule that checks if the same sub-array index is used on more than one raw bioassay from the same scan. |
private String |
failureSummary
|
private String |
id
|
static Validator |
INCORRECT_ARRAY_NUM
Validator rule that checks if the sub-array index on a raw bioassay or labeled extract is between 1 and the number of sub-arrays on the hybridization. |
static Validator |
INCORRECT_HARDWARETYPE
Validator rule that checks if the hardware attached to an item has a correct hardware type. |
static Validator |
INCORRECT_NUM_LABELEDEXTRACTS
Validator rule that checks if the number of labeled extracts attached to a hybridization matches the number of channels in the experiment. |
static Validator |
INCORRECT_PROTOCOLTYPE
Validator rule that checks if the protocol attached to an item has a correct protocol type. |
static Validator |
INCORRECT_SOFTWARETYPE
Validator rule that checks if the software attached to an item has a correct software type. |
static Validator |
MISSING_ANYTOANY
Validator rule that checks for a missing reference in an any-to-any link. |
static Validator |
MISSING_ARRAYBATCH
Validator rule that checks for missing array batch. |
static Validator |
MISSING_ARRAYDESIGN
Validator rule that checks for missing array design. |
static Validator |
MISSING_ARRAYSLIDE
Validator rule that checks for missing array slide. |
static Validator |
MISSING_BIOSOURCE
Validator rule that checks for missing biosource. |
static Validator |
MISSING_DATAFILE
Validator rule that checks if all files required by the platform are present or not. |
static Validator |
MISSING_EXTRACT
Validator rule that checks for missing extract. |
static Validator |
MISSING_FACTORVALUE
Validator rule that checks for missing experimental factor value. |
static Validator |
MISSING_HARDWARE
Validator rule that checks for missing hardware. |
static Validator |
MISSING_HYBRIDIZATION
Validator rule that checks for missing hybridization. |
static Validator |
MISSING_LABELED_EXTRACT
Validator rule that checks for missing labeled extract. |
static Validator |
MISSING_MIAME_ANNOTATION
Validator rule that checks for missing "Required for MIAME" annotation. |
static Validator |
MISSING_PARAMETER
Validator rule that checks for missing protocol parameter values. |
static Validator |
MISSING_PROTOCOL
Validator rule that checks for missing protocols. |
static Validator |
MISSING_SAMPLE
Validator rule that checks for missing sample. |
static Validator |
MISSING_SCAN
Validator rule that checks for missing scan. |
static Validator |
MISSING_SOFTWARE
Validator rule that checks for missing software. |
static Validator |
MULTIPLE_ARRAYDESIGNS
Validator rule that checks if all raw bioassays in an experiment uses the same array design. |
static Validator |
NONDEFAULT_ARRAYDESIGN
Validator rule that checks if an item uses a different array design than specified by the project default. |
static Validator |
NONDEFAULT_HARDWARE
Validator rule that checks if an item uses a different hardware than specified by the project default. |
static Validator |
NONDEFAULT_PLATFORM
Validator rule that checks if an item uses a different platform / variant than specified by the project default. |
static Validator |
NONDEFAULT_PROTOCOL
Validator rule that checks if an item uses a different protocol than specified by the project default. |
static Validator |
NONDEFAULT_RAWDATATYPE
Validator rule that checks if an item uses a different raw data type than specified by the project default. |
static Validator |
NONDEFAULT_SOFTWARE
Validator rule that checks if an item uses a different software than specified by the project default. |
static Validator |
NONMATCHING_SPOTCOUNT
Validator rule that checks if the number of raw data spots are the same as the number of features (given a certain threshold). |
static Validator |
NONMATHCING_ARRAYDESIGN
Validator rule that checks if the array design for a raw bioassay matches the array design of the associated hybridization. |
static Validator |
NONUNIQUE_LABEL
Validator rule that checks if a hybridization has more than one labeled extract with the same label. |
static Validator |
NONUNIQUE_NAME_FOR_TYPE
Validator rule that checks if two items of the same type has the same name. |
static Validator |
NONUNIQUE_NAME_GLOBAL
Validator rule that checks if two items of different type has the same name. |
private String |
title
|
Constructor Summary | |
---|---|
Validator(String id,
String title,
String description,
String failureSummary,
Severity defaultSeverity)
Create a new validator. |
Method Summary | |
---|---|
Severity |
getDefaultSeverity()
Get the default severity level. |
String |
getDescription()
Get a lengthier description of the validation that takes place |
String |
getFailureSummary()
Get a short summary that is displayed when the validation fails |
String |
getId()
Get the unique ID of this validator. |
String |
getTitle()
Get the title of this validator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Validator MISSING_PROTOCOL
public static final Validator DENIED_PROTOCOL
public static final Validator MISSING_SCAN
public static final Validator DENIED_SCAN
public static final Validator DENIED_PLATFORM
public static final Validator DENIED_FILE
public static final Validator DENIED_DATAFILETYPE
public static final Validator MISSING_SOFTWARE
public static final Validator DENIED_SOFTWARE
public static final Validator MISSING_HARDWARE
public static final Validator DENIED_HARDWARE
public static final Validator MISSING_HYBRIDIZATION
public static final Validator DENIED_HYBRIDIZATION
public static final Validator MISSING_ARRAYSLIDE
public static final Validator DENIED_ARRAYSLIDE
public static final Validator MISSING_LABELED_EXTRACT
public static final Validator MISSING_EXTRACT
public static final Validator DENIED_EXTRACT
public static final Validator MISSING_SAMPLE
public static final Validator DENIED_SAMPLE
public static final Validator MISSING_BIOSOURCE
public static final Validator DENIED_BIOSOURCE
public static final Validator DENIED_LABEL
public static final Validator MISSING_ARRAYDESIGN
public static final Validator DENIED_ARRAYDESIGN
public static final Validator MISSING_ARRAYBATCH
public static final Validator DENIED_ARRAYBATCH
public static final Validator MISSING_FACTORVALUE
public static final Validator MISSING_PARAMETER
public static final Validator MISSING_MIAME_ANNOTATION
public static final Validator DENIED_ANNOTATIONTYPE
public static final Validator MISSING_ANYTOANY
public static final Validator DENIED_ANYTOANY
public static final Validator NONDEFAULT_PLATFORM
public static final Validator NONDEFAULT_PROTOCOL
public static final Validator NONDEFAULT_HARDWARE
public static final Validator NONDEFAULT_SOFTWARE
public static final Validator NONDEFAULT_ARRAYDESIGN
public static final Validator NONDEFAULT_RAWDATATYPE
public static final Validator MULTIPLE_ARRAYDESIGNS
public static final Validator NONMATHCING_ARRAYDESIGN
public static final Validator NONMATCHING_SPOTCOUNT
public static final Validator INCORRECT_PROTOCOLTYPE
public static final Validator INCORRECT_SOFTWARETYPE
public static final Validator INCORRECT_HARDWARETYPE
public static final Validator INCORRECT_ARRAY_NUM
public static final Validator DUPLICATE_ARRAY_NUM
public static final Validator INCORRECT_NUM_LABELEDEXTRACTS
public static final Validator NONUNIQUE_LABEL
public static final Validator DIFFERENT_LABEL
public static final Validator NONUNIQUE_NAME_FOR_TYPE
public static final Validator NONUNIQUE_NAME_GLOBAL
public static final Validator CIRCULAR_REFERENCE
public static final Validator ANNOTATION_IS_PARAMETER
public static final Validator ANNOTATION_INVALID_ITEM
public static final Validator ANNOTATION_INVALID_VALUE
public static final Validator ANNOTATION_INHERIT_FROM_NONPARENT
public static final Validator ANNOTATION_INHERIT_FROM_DENIEDPARENT
public static final Validator ANNOTATION_INHERIT_MULTIPLE
public static final Validator DATAFILE_INVALID_ITEM
public static final Validator DATAFILE_NOTVALIDATED
public static final Validator DATAFILE_INVALID
public static final Validator MISSING_DATAFILE
public static final Validator DATAFILE_NOTPLATFORM
private String id
private String title
private String description
private String failureSummary
private Severity defaultSeverity
Constructor Detail |
---|
public Validator(String id, String title, String description, String failureSummary, Severity defaultSeverity)
id
- A unique ID among all validatorstitle
- The title for the validation ruledescription
- A lengthier description of the validation that takes placefailureSummary
- A short summary that is displayed when the validation
failsdefaultSeverity
- The default severity level of the validationMethod Detail |
---|
public String getId()
public String getTitle()
public String getDescription()
public String getFailureSummary()
public Severity getDefaultSeverity()
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |