|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.gui.field.CompletionObject
public class CompletionObject
This is basically a view object for the auto completer - right now used for relations OBOProperty - but terms should also go in here as OBOObject has both OBOClass and OBOProperty as subclasses - thats the idea at least - simplify!
| Constructor Summary | |
|---|---|
CompletionObject(org.obo.datamodel.OBOObject obj)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
(package private) org.obo.datamodel.OBOClass |
getOboClass()
|
(package private) org.obo.datamodel.OBOObject |
getOboObject()
this is way of future - use more general OBOObj instead of OBOProp |
org.obo.datamodel.OBOProperty |
getOboProperty()
returns null if not an obo property - exception? |
(package private) boolean |
hasOboClass()
|
boolean |
hasOboProperty()
|
(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()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
CompletionObject(org.obo.datamodel.OBOObject obj)
| Method Detail |
|---|
org.obo.datamodel.OBOObject getOboObject()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasOboProperty()
public java.lang.String getName()
boolean isObsolete()
boolean isTermMatch()
boolean isSynMatch()
boolean isDefinitionMatch()
boolean isExactMatch()
boolean isStartsWithMatch()
boolean hasOboClass()
org.obo.datamodel.OBOClass getOboClass()
public org.obo.datamodel.OBOProperty getOboProperty()
boolean matches(java.lang.String input,
SearchParamsI searchParams)
void resetMatchState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||