|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.gui.field.CompListSearcher
public class CompListSearcher
An aid to completion lists. Searches ontology with user input and search params and returns vectors of completion list objects CompletionTerms or CompletionRelations Moved search methods from Ontology to here, as now cant just return model objects, as OBOClass.toString doesnt cut it anymore - need the gui objects for syns & obsoletes & to cut off long terms
| Constructor Summary | |
|---|---|
CompListSearcher(java.util.List<Ontology> l)
l - initial list of ontologies to search, as in ALL. |
|
CompListSearcher(Ontology o)
Ontology - the initial ontology to search, setOntology changes this, initially only searches the one ontology (not ALL) - used by servlet which currently doesnt do ALL |
|
| Method Summary | |
|---|---|
java.util.List<CompletionObject> |
getStringMatchRelations(java.lang.String input)
relations are short ontologies - dont need threaded optimization |
void |
getStringMatchTermList(java.lang.String input,
SearchListener lis,
boolean threaded)
Makes a List of CompletionTerms from ontology that contain input string constrained by compParams. |
void |
setOntologies(java.util.List<Ontology> l)
|
void |
setOntology(Ontology o)
Set the ontology to search. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompListSearcher(Ontology o)
public CompListSearcher(java.util.List<Ontology> l)
| Method Detail |
|---|
public void setOntology(Ontology o)
public void setOntologies(java.util.List<Ontology> l)
public java.util.List<CompletionObject> getStringMatchRelations(java.lang.String input)
public void getStringMatchTermList(java.lang.String input,
SearchListener lis,
boolean threaded)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||