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


Constructor Summary
GenericReasonerValidationCheck(OWLGraphWrapper graph)
           
 
Method Summary
 Set<AnnotationRuleViolation> getRuleViolations(GafDocument gafDoc)
          Given a whole GafDocument , find the set of violations using the rule
 Set<AnnotationRuleViolation> getRuleViolations(GeneAnnotation a)
          Given an annotation, find the set of violations using the rule
 boolean isDocumentLevel()
           
 
Methods inherited from class owltools.gaf.rules.AbstractAnnotationRule
getRuleId, setRuleId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericReasonerValidationCheck

public GenericReasonerValidationCheck(OWLGraphWrapper graph)
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

isDocumentLevel

public boolean isDocumentLevel()
Specified by:
isDocumentLevel in interface AnnotationRule
Overrides:
isDocumentLevel in class AbstractAnnotationRule
Returns:
true if the rule has to be applied to the whole GA document.

getRuleViolations

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

Specified by:
getRuleViolations in interface AnnotationRule
Overrides:
getRuleViolations in class AbstractAnnotationRule
Returns:
set of violations


Copyright © 2010-2012. All Rights Reserved.