|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.storage.simplememory.Document
edu.lehigh.swat.hawk.storage.simpledb.Document
public class Document
Representing semantic contents in a document and/or its imported documents
Field Summary | |
---|---|
protected java.util.ArrayList |
ancestors
|
protected DatabaseStorage |
model
|
protected java.sql.Statement |
stmt
|
Fields inherited from class edu.lehigh.swat.hawk.storage.simplememory.Document |
---|
assertions, comments, distinctSets, docId, imports, individuals, label, nameSpaces, sameSets, size, xmlBase |
Constructor Summary | |
---|---|
Document()
Constructor. |
Method Summary | |
---|---|
void |
addImports(DocId id)
Add an imports statement. |
void |
addIndividual(Individual indiv)
Add an individual. |
Individual |
createIndividual()
Create a Individual object. |
void |
deleteIndividual(Individual indi)
Delete an individual. |
void |
flush()
Flush the axioms into database. |
DocId[] |
getAncestors()
|
int |
getDocSeq()
Get the document sequence number. |
StorageModel |
getModel()
Get the storageModel. |
void |
setDocSeq(int i)
Set the document sequence number. |
void |
setModel(StorageModel m)
Set the storageModel. |
void |
setSQLStatement(java.sql.Statement statement)
Set the SQL statement. |
Methods inherited from class edu.lehigh.swat.hawk.storage.simplememory.Document |
---|
addAssertion, addDescription, addDistinctIndividualsSet, addSameIndividualsSet, deleteAllIndividual, deleteAssertion, deleteDescriprion, deleteDistinctIndividualsSet, deleteImports, deleteSameIndividualsSet, equals, getAllAssertions, getAllDescriptions, getAllIndividuals, getAssertionIterator, getDescendants, getDescription, getDistinctIndividualsSets, getID, getImports, getIndividual, getIndividualIterator, getLabel, getNameSpaces, getSameIndividualsSets, getSize, getXMLBase, setDescendants, setID, setLabel, setNameSpaces, setSize, setXMLBase |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.sql.Statement stmt
protected DatabaseStorage model
protected java.util.ArrayList ancestors
Constructor Detail |
---|
public Document()
Method Detail |
---|
public Individual createIndividual()
createIndividual
in interface Document
createIndividual
in class Document
public void addIndividual(Individual indiv)
addIndividual
in interface Document
addIndividual
in class Document
public void deleteIndividual(Individual indi)
deleteIndividual
in interface Document
deleteIndividual
in class Document
public void setDocSeq(int i)
public int getDocSeq()
public void setSQLStatement(java.sql.Statement statement)
public void setModel(StorageModel m)
public StorageModel getModel()
public void flush()
flush
in interface Document
flush
in class Document
public void addImports(DocId id)
addImports
in interface Document
addImports
in class Document
public DocId[] getAncestors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |