edu.lehigh.swat.hawk.core
Interface OntObject

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
Individual, OntClass, OntProperty, PropertyRestriction
All Known Implementing Classes:
Individual, Individual, OntClass, OntClass, OntObject, OntObject, OntProperty, OntProperty, PropertyRestriction, PropertyRestriction

public interface OntObject
extends java.lang.Cloneable

Superclass of OntClass etc.


Method Summary
 void addDescription(java.lang.String des)
          Add a description, comment, etc.
 java.lang.Object clone()
           
 void deleteDescription(java.lang.String des)
          Delete a description.
 java.util.Iterator getAllDescriptions()
          Get all the descriptions.
 java.lang.String getDescription()
          Get the first description.
 ObjectId getID()
          get the uri of this object
 java.lang.String getLabel()
          Get the label.
 Ontology getOntology()
          get the ontology that this object belongs to
 Document getSource()
          Get the source document.
 void setID(ObjectId id)
          set the uri of this object
 void setLabel(java.lang.String label)
          Set the label.
 void setOntology(Ontology o)
          set the ontology that this object belongs to
 void setSource(Document d)
          Set the source document.
 

Method Detail

getID

ObjectId getID()
get the uri of this object


setID

void setID(ObjectId id)
set the uri of this object


setOntology

void setOntology(Ontology o)
set the ontology that this object belongs to


getOntology

Ontology getOntology()
get the ontology that this object belongs to


setSource

void setSource(Document d)
Set the source document.


getSource

Document getSource()
Get the source document.


getDescription

java.lang.String getDescription()
Get the first description.


getAllDescriptions

java.util.Iterator getAllDescriptions()
Get all the descriptions.


addDescription

void addDescription(java.lang.String des)
Add a description, comment, etc.


deleteDescription

void deleteDescription(java.lang.String des)
Delete a description.


getLabel

java.lang.String getLabel()
Get the label.


setLabel

void setLabel(java.lang.String label)
Set the label.


clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException