edu.lehigh.swat.hawk.core
Interface Individual

All Superinterfaces:
OntObject
All Known Implementing Classes:
Individual, Individual

public interface Individual
extends OntObject

Encapsulating the individuals and their related property values.


Method Summary
 void addDifferentFrom(ObjectId id)
          Add a id which is differen from this individual.
 void addProperty(ObjectId pid, ObjectId v)
          Add a related property.
 void addSameAs(ObjectId id)
          Add a id which is same as this individual.
 void addSourceClass(ObjectId cid)
          Add a source class.
 void deleteDifferentFrom(ObjectId id)
          Delete a id which is differen from this individual.
 void deleteProperty(ObjectId pid, ObjectId v)
          Delete a related property.
 void deleteSameAs(ObjectId id)
          Delete a id which is same as this individual.
 void deleteSourceClass(java.lang.Object cid)
          Delete a source class.
 ObjectId[] getAllDifferentFrom()
          Get all the ids which are differen from this individual.
 ObjectId[] getAllSameAs()
          Get all the ids that are same as this individual.
 ObjectId[] getProperties()
          Get all the related properties.
 java.util.Collection getSameSet()
          Get the set of same individuals which this individual belongs to.
 ObjectId[] getSourceClasses()
          Get the sourece classes.
 ObjectId[] getValuesForProperty(ObjectId pid)
          Get all the values on specfied property.
 void setSameSet(java.util.Collection c)
          Set the set of same individuals which this individual belongs to.
 
Methods inherited from interface edu.lehigh.swat.hawk.core.OntObject
addDescription, deleteDescription, getAllDescriptions, getDescription, getID, getLabel, getOntology, getSource, setID, setLabel, setOntology, setSource
 

Method Detail

getSourceClasses

ObjectId[] getSourceClasses()
Get the sourece classes.


addSourceClass

void addSourceClass(ObjectId cid)
Add a source class.


deleteSourceClass

void deleteSourceClass(java.lang.Object cid)
Delete a source class.


addProperty

void addProperty(ObjectId pid,
                 ObjectId v)
Add a related property.


deleteProperty

void deleteProperty(ObjectId pid,
                    ObjectId v)
Delete a related property.


getProperties

ObjectId[] getProperties()
Get all the related properties.


getValuesForProperty

ObjectId[] getValuesForProperty(ObjectId pid)
Get all the values on specfied property.


addSameAs

void addSameAs(ObjectId id)
Add a id which is same as this individual.


deleteSameAs

void deleteSameAs(ObjectId id)
Delete a id which is same as this individual.


getAllSameAs

ObjectId[] getAllSameAs()
Get all the ids that are same as this individual.


getSameSet

java.util.Collection getSameSet()
Get the set of same individuals which this individual belongs to.


setSameSet

void setSameSet(java.util.Collection c)
Set the set of same individuals which this individual belongs to.


addDifferentFrom

void addDifferentFrom(ObjectId id)
Add a id which is differen from this individual.


deleteDifferentFrom

void deleteDifferentFrom(ObjectId id)
Delete a id which is differen from this individual.


getAllDifferentFrom

ObjectId[] getAllDifferentFrom()
Get all the ids which are differen from this individual.