phenote.gui.field
Class CompletionObject

java.lang.Object
  extended by phenote.gui.field.CompletionObject

 class CompletionObject
extends java.lang.Object

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!


Field Summary
(package private)  org.obo.datamodel.OBOObject obj
           
 
Constructor Summary
CompletionObject(org.obo.datamodel.OBOObject obj)
           
 
Method Summary
(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?
 boolean hasOboProperty()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

obj

org.obo.datamodel.OBOObject obj
Constructor Detail

CompletionObject

CompletionObject(org.obo.datamodel.OBOObject obj)
Method Detail

getOboObject

org.obo.datamodel.OBOObject getOboObject()
this is way of future - use more general OBOObj instead of OBOProp


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hasOboProperty

public boolean hasOboProperty()

getOboProperty

public org.obo.datamodel.OBOProperty getOboProperty()
returns null if not an obo property - exception?