owltools.gaf.rules
Class AbstractAnnotationRule

java.lang.Object
  extended by owltools.gaf.rules.AbstractAnnotationRule
All Implemented Interfaces:
AnnotationRule
Direct Known Subclasses:
AnnotationRegularExpressionFromXMLRule, AnnotationTaxonRule, BasicChecksRule, GoClassReferenceAnnotationRule

public abstract class AbstractAnnotationRule
extends Object
implements AnnotationRule


Constructor Summary
AbstractAnnotationRule()
           
 
Method Summary
 String getRuleId()
          Get the ruleId.
abstract  Set<AnnotationRuleViolation> getRuleViolations(GeneAnnotation a)
          Given an annotation, find the set of violations using the rule
 void setRuleId(String ruleId)
          Set the rule id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAnnotationRule

public AbstractAnnotationRule()
Method Detail

getRuleViolations

public abstract 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
Parameters:
a - annotation
Returns:
set of violations

setRuleId

public void setRuleId(String ruleId)
Description copied from interface: AnnotationRule
Set the rule id

Specified by:
setRuleId in interface AnnotationRule

getRuleId

public String getRuleId()
Description copied from interface: AnnotationRule
Get the ruleId.

Specified by:
getRuleId in interface AnnotationRule
Returns:
ruleId


Copyright © 2010-2012. All Rights Reserved.