GATE
Version 3.1-2270

gate.creole.ontology
Interface OInstance

All Superinterfaces:
OntologyResource
All Known Implementing Classes:
OInstanceImpl

public interface OInstance
extends OntologyResource


Method Summary
 Set getDifferentFrom()
           
 Set getOClasses()
          Gets the set of classes this instance belongs to.
 Set getSameIndividualAs()
           
 Object getUserData()
          Gets the user data of this instance.
 void setDifferentFrom(OInstance theIndividual)
           
 void setSameIndividualAs(OInstance theIndividual)
           
 void setUserData(Object theUserData)
          Sets the user data of this instance.
 
Methods inherited from interface gate.creole.ontology.OntologyResource
addPropertyValue, getComment, getName, getOntology, getPropertyValues, getSetPropertiesNames, getTaxonomy, getURI, removePropertyValue, removePropertyValues, setComment, setName, setURI
 

Method Detail

getOClasses

Set getOClasses()
Gets the set of classes this instance belongs to.

Returns:
a set of OClass objects.

setUserData

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


getUserData

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

Returns:
the object which is user data

setDifferentFrom

void setDifferentFrom(OInstance theIndividual)

getDifferentFrom

Set getDifferentFrom()

setSameIndividualAs

void setSameIndividualAs(OInstance theIndividual)

getSameIndividualAs

Set getSameIndividualAs()

GATE
Version 3.1-2270