JAL-3010 cache synonyms for Sequence Ontology terms
[jalview.git] / src / jalview / datamodel / ontology / OntologyI.java
index f82adb0..b449982 100644 (file)
@@ -6,6 +6,14 @@ import java.util.Set;
 
 public interface OntologyI
 {
+  /**
+   * Answers true if the term can be identified in the ontology (possibly by id,
+   * description or alias), else false
+   * 
+   * @param term
+   * @return
+   */
+  boolean isValidTerm(String term);
 
   /**
    * Answers true if <code>childTerm</code> is the same as, or a sub-type