owltools.gaf.rules
Class GenericReasonerValidationCheck

java.lang.Object
  extended by owltools.gaf.rules.AbstractAnnotationRule
      extended by owltools.gaf.rules.GenericReasonerValidationCheck
All Implemented Interfaces:
AnnotationRule

public class GenericReasonerValidationCheck
extends AbstractAnnotationRule


Field Summary
static String PERMANENT_JAVA_ID
          The string to identify this class in the annotation_qc.xml and related factories.
 
Constructor Summary
GenericReasonerValidationCheck()
           
 
Method Summary
 Set<AnnotationRuleViolation> getRuleViolations(GeneAnnotation a)
          Given an annotation, find the set of violations using the rule
 Set<AnnotationRuleViolation> getRuleViolations(OWLGraphWrapper graph)
          Given a whole GafDocument in OWL, find the set of violations using the rule
 boolean isAnnotationLevel()
           
 boolean isOwlDocumentLevel()
           
 
Methods inherited from class owltools.gaf.rules.AbstractAnnotationRule
getRuleId, getRuleViolations, isDocumentLevel, setRuleId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMANENT_JAVA_ID

public static final String PERMANENT_JAVA_ID
The string to identify this class in the annotation_qc.xml and related factories. This is not supposed to be changed.

See Also:
Constant Field Values
Constructor Detail

GenericReasonerValidationCheck

public GenericReasonerValidationCheck()
Method Detail

getRuleViolations

public Set<AnnotationRuleViolation> getRuleViolations(GeneAnnotation a)
Description copied from interface: AnnotationRule
Given an annotation, find the set of violations using the rule

Specified by:
getRuleViolations in interface AnnotationRule
Specified by:
getRuleViolations in class AbstractAnnotationRule
Parameters:
a - annotation
Returns:
set of violations
See Also:
AnnotationRule.isAnnotationLevel()

isAnnotationLevel

public boolean isAnnotationLevel()
Specified by:
isAnnotationLevel in interface AnnotationRule
Overrides:
isAnnotationLevel in class AbstractAnnotationRule
Returns:
true if the rule has to be applied to a GeneAnnotation.
See Also:
AnnotationRule.getRuleViolations(GeneAnnotation)

isOwlDocumentLevel

public boolean isOwlDocumentLevel()
Specified by:
isOwlDocumentLevel in interface AnnotationRule
Overrides:
isOwlDocumentLevel in class AbstractAnnotationRule
Returns:
true if the rule has to be applied to the whole OWL document.
See Also:
AnnotationRule.getRuleViolations(OWLGraphWrapper)

getRuleViolations

public Set<AnnotationRuleViolation> getRuleViolations(OWLGraphWrapper graph)
Description copied from interface: AnnotationRule
Given a whole GafDocument in OWL, find the set of violations using the rule

Specified by:
getRuleViolations in interface AnnotationRule
Overrides:
getRuleViolations in class AbstractAnnotationRule
Returns:
set of violations
See Also:
AnnotationRule.isOwlDocumentLevel()


Copyright © 2010-2012. All Rights Reserved.