gate.creole.ontology
Interface OInstance

All Known Implementing Classes:
OInstanceImpl

public interface OInstance


Method Summary
 Set getDifferentFrom()
           
 String getName()
          Gets the name of this instance.
 OClass getOClass()
          Gets the class of this instance.
 Object getPropertyValue(Property theProperty)
           
 Set getSameIndividualAs()
           
 Object getUserData()
          Gets the user data of this instance.
 void setDifferentFrom(OInstance theIndividual)
           
 void setPropertyValue(Property theProperty, Object theValue)
           
 void setSameIndividualAs(OInstance theIndividual)
           
 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

setDifferentFrom

public void setDifferentFrom(OInstance theIndividual)

getDifferentFrom

public Set getDifferentFrom()

setPropertyValue

public void setPropertyValue(Property theProperty,
                             Object theValue)

getPropertyValue

public Object getPropertyValue(Property theProperty)

setSameIndividualAs

public void setSameIndividualAs(OInstance theIndividual)

getSameIndividualAs

public Set getSameIndividualAs()