phenote.gui.field
Class CompletionTerm
java.lang.Object
phenote.gui.field.CompletionTerm
public class CompletionTerm
- extends java.lang.Object
This is basically a view object for the auto completer for terms/OBOClass
this has been replaced by CompletionObject - i dont think its used anymore?
and should probably be deleted
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompletionTerm
CompletionTerm(org.obo.datamodel.OBOClass term)
getOboClass
org.obo.datamodel.OBOClass getOboClass()
isTermMatch
boolean isTermMatch()
isSynMatch
boolean isSynMatch()
isDefinitionMatch
boolean isDefinitionMatch()
isExactMatch
boolean isExactMatch()
isStartsWithMatch
boolean isStartsWithMatch()
resetMatchState
void resetMatchState()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getCompListInformalString
public java.lang.String getCompListInformalString()
getCompListDisplayString
public java.lang.String getCompListDisplayString()
- used by servlet.PhenoteController as well as CompTermList
getCompListDisplayName
java.lang.String getCompListDisplayName()
getCompListDisplaySuffix
java.lang.String getCompListDisplaySuffix()
getID
public java.lang.String getID()
getName
public java.lang.String getName()
getEscapedName
public java.lang.String getEscapedName()
isObsolete
boolean isObsolete()
matches
boolean matches(java.lang.String input,
SearchParamsI searchParams)
- Returns true if term matches input according to searchParams. has
side effect of recording the kind of match - term, syn, desc...
getMatchList
java.util.List<CompletionTerm> getMatchList()
getOntol
public java.lang.String getOntol()
setOntol
public void setOntol(java.lang.String ontol)
getField
public java.lang.String getField()
setField
public void setField(java.lang.String field)