|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.lehigh.swat.hawk.storage.simplememory.SerializableClass
edu.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 DatabaseStorage |
model
|
protected java.sql.Statement |
stmt
|
Constructor Summary | |
---|---|
Document()
Constructor. |
Method Summary | |
---|---|
void |
addIndividual(Individual indiv)
Add an individual. |
Individual |
createIndividual()
Create a Individual object. |
void |
flush()
Flush the axioms into database. |
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, addImports, addSameIndividualsSet, deleteAssertion, deleteDescriprion, deleteDistinctIndividualsSet, deleteImports, deleteIndividual, deleteSameIndividualsSet, getAllAssertions, getAllDescriptions, getAllIndividuals, getAssertionIterator, getDescendants, getDescription, getDistinctIndividualsSets, getID, getImports, getIndividual, getIndividualIterator, getLabel, getNameSpaces, getSameIndividualsSets, getXMLBase, setDescendants, setID, setLabel, setNameSpaces, setXMLBase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.sql.Statement stmt
protected DatabaseStorage model
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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |