gate.creole.ontology
Interface OInstance

All Known Implementing Classes:
OInstanceImpl

public interface OInstance


Method Summary
 String getName()
          Gets the name of this instance.
 OClass getOClass()
          Gets the class of this instance.
 Object getUserData()
          Gets the user data of this instance.
 void setUserData(Object theUserData)
          Sets the user data of this instance.
 

Method Detail

getOClass

public OClass getOClass()
Gets the class of this instance.

Returns:
the class

getName

public String getName()
Gets the name of this instance.

Returns:
the name

setUserData

public void setUserData(Object theUserData)
Sets the user data of this instance. To be used to store arbitrary data on instances.


getUserData

public Object getUserData()
Gets the user data of this instance.

Returns:
the object which is user data