phenote.gui.field
Class CompletionTerm

java.lang.Object
  extended by 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


Constructor Summary
CompletionTerm(org.obo.datamodel.OBOClass term)
           
 
Method Summary
(package private)  java.lang.String getCompListDisplayName()
           
 java.lang.String getCompListDisplayString()
          used by servlet.PhenoteController as well as CompTermList
(package private)  java.lang.String getCompListDisplaySuffix()
           
 java.lang.String getCompListInformalString()
           
 java.lang.String getEscapedName()
           
 java.lang.String getField()
           
 java.lang.String getID()
           
(package private)  java.util.List<CompletionTerm> getMatchList()
           
 java.lang.String getName()
           
(package private)  org.obo.datamodel.OBOClass getOboClass()
           
 java.lang.String getOntol()
           
(package private)  boolean isDefinitionMatch()
           
(package private)  boolean isExactMatch()
           
(package private)  boolean isObsolete()
           
(package private)  boolean isStartsWithMatch()
           
(package private)  boolean isSynMatch()
           
(package private)  boolean isTermMatch()
           
(package private)  boolean matches(java.lang.String input, SearchParamsI searchParams)
          Returns true if term matches input according to searchParams.
(package private)  void resetMatchState()
           
 void setField(java.lang.String field)
           
 void setOntol(java.lang.String ontol)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompletionTerm

CompletionTerm(org.obo.datamodel.OBOClass term)
Method Detail

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)