|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.storage.simplememory.OntObject
public class OntObject
A simple implementation of core.OntObject in memory.
Constructor Summary | |
---|---|
OntObject()
Constructor |
Method Summary | |
---|---|
void |
addDescription(java.lang.String des)
Set the 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 description, comment, etc. |
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 oid)
set the uri of this object |
void |
setLabel(java.lang.String l)
Set the label. |
void |
setOntology(Ontology o)
set the ontology that this object belongs to |
void |
setSource(Document d)
Set the source document. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OntObject()
Method Detail |
---|
public ObjectId getID()
getID
in interface OntObject
public void setID(ObjectId oid)
setID
in interface OntObject
public void setOntology(Ontology o)
setOntology
in interface OntObject
public Ontology getOntology()
getOntology
in interface OntObject
public void setSource(Document d)
setSource
in interface OntObject
public Document getSource()
getSource
in interface OntObject
public java.lang.String getDescription()
getDescription
in interface OntObject
public java.util.Iterator getAllDescriptions()
getAllDescriptions
in interface OntObject
public void addDescription(java.lang.String des)
addDescription
in interface OntObject
public void deleteDescription(java.lang.String des)
deleteDescription
in interface OntObject
public java.lang.String getLabel()
getLabel
in interface OntObject
public void setLabel(java.lang.String l)
setLabel
in interface OntObject
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface OntObject
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |