|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Document
change history: 2004/02/03 Pan: add descendants.
Method Summary | |
---|---|
void |
addAssertion(ObjectId subject,
ObjectId predicate,
ObjectId object)
Add an assertion to this document. |
void |
addDescription(java.lang.String s)
Add a description. |
void |
addDistinctIndividualsSet(java.util.Collection dis)
Add a set of distinct individuals' IDs $change: collection allow duplicate members, which we wanna accommodate here. |
void |
addImports(DocId id)
Add an imports statement. |
void |
addIndividual(Individual indi)
Add an individual. |
void |
addSameIndividualsSet(java.util.Collection dis)
Add a set of equivalent individuals' IDs |
Individual |
createIndividual()
Create a Individual object. |
void |
deleteAssertion(Assertion a)
Delete an assertion in this document. |
void |
deleteDescriprion(java.lang.String s)
Delete a description. |
void |
deleteDistinctIndividualsSet(java.util.Collection dis)
delete a set of distinct individuals' IDs |
void |
deleteImports(DocId id)
Delete an imports statement. |
void |
deleteIndividual(Individual indi)
Delete an individual. |
void |
deleteSameIndividualsSet(java.util.Collection dis)
delete a set of equivalent individuals' IDs |
void |
flush()
Flush this document. |
Assertion[] |
getAllAssertions()
Get all assertions. |
java.util.Iterator |
getAllDescriptions()
Get all the descriptions. |
Individual[] |
getAllIndividuals()
Get all the individuals. |
java.util.Iterator |
getAssertionIterator()
Get the Iterator of all the assertions. |
java.util.Stack |
getDescendants()
Get descendants. |
java.lang.String |
getDescription()
Get the first description. |
java.util.Collection[] |
getDistinctIndividualsSets()
get sets of distinct individuals' IDs |
DocId |
getID()
get the ID of this document |
DocId[] |
getImports()
Get the imports statements. |
Individual |
getIndividual(ObjectId id)
Get an individual. |
java.util.Iterator |
getIndividualIterator()
Get the Iterator of all the individuals. |
java.lang.String |
getLabel()
Get the label. |
java.util.HashMap |
getNameSpaces()
Get the nameSpaces of this document. |
java.util.Collection[] |
getSameIndividualsSets()
get sets of equivalent individuals' IDs |
java.lang.String |
getXMLBase()
Get the xml:Base of this document. |
void |
setDescendants(java.util.Stack des)
Set descendants. |
void |
setID(DocId id)
set the ID of this document |
void |
setLabel(java.lang.String s)
Set the label. |
void |
setNameSpaces(java.util.HashMap ns)
Set the nameSpaces of this document. |
void |
setXMLBase(java.lang.String base)
Set the xml:Base of this document. |
Method Detail |
---|
void addAssertion(ObjectId subject, ObjectId predicate, ObjectId object)
void deleteAssertion(Assertion a)
Assertion[] getAllAssertions()
java.util.Iterator getAssertionIterator()
DocId[] getImports()
void addImports(DocId id)
void deleteImports(DocId id)
DocId getID()
void setID(DocId id)
void addDistinctIndividualsSet(java.util.Collection dis)
void deleteDistinctIndividualsSet(java.util.Collection dis)
java.util.Collection[] getDistinctIndividualsSets()
void addSameIndividualsSet(java.util.Collection dis)
void deleteSameIndividualsSet(java.util.Collection dis)
java.util.Collection[] getSameIndividualsSets()
Individual createIndividual()
void addIndividual(Individual indi)
void deleteIndividual(Individual indi)
Individual getIndividual(ObjectId id)
Individual[] getAllIndividuals()
java.util.Iterator getIndividualIterator()
void setNameSpaces(java.util.HashMap ns)
java.util.HashMap getNameSpaces()
void setXMLBase(java.lang.String base)
java.lang.String getXMLBase()
void addDescription(java.lang.String s)
void deleteDescriprion(java.lang.String s)
java.lang.String getDescription()
java.util.Iterator getAllDescriptions()
void setLabel(java.lang.String s)
java.lang.String getLabel()
void setDescendants(java.util.Stack des)
java.util.Stack getDescendants()
void flush()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |