|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResourceNode
A resource node.
This interface is due for a major refactoring.
| Method Summary | |
|---|---|
void |
addObject(IResourceNode predicate,
INode object,
IResourceNode graph)
Adds a statement wherein this node is the subject. |
INode |
getFirstObject(IResourceNode predicate)
Returns the first object related to this node (as a subject) by the given predicate. |
Statement |
getFirstQuadAsSubject(IResourceNode predicate)
Returns the first statement with the given predicate wherein this node is the subject. |
java.util.Map<IResourceNode,java.util.Set<Statement>> |
getQuadsAsSubject()
Returns the mapping of predicate to statements wherein this node serves as the subject. |
java.util.Set<Statement> |
getQuadsAsSubject(IResourceNode predicate)
Returns the statements with the given predicate wherein this node is the subject. |
org.apache.commons.collections.MultiMap |
getSubjects()
Returns the subjects. |
java.lang.String |
getURI()
Returns the name of this node. |
void |
removeObject(IResourceNode predicate,
INode object,
IResourceNode graph)
Removes a statement wherein this node is the subject. |
| Method Detail |
|---|
java.lang.String getURI()
org.apache.commons.collections.MultiMap getSubjects()
java.util.Map<IResourceNode,java.util.Set<Statement>> getQuadsAsSubject()
void addObject(IResourceNode predicate,
INode object,
IResourceNode graph)
predicate - the predicateobject - the objectgraph - the graph
void removeObject(IResourceNode predicate,
INode object,
IResourceNode graph)
predicate - the predicateobject - the objectgraph - the graphjava.util.Set<Statement> getQuadsAsSubject(IResourceNode predicate)
predicate - the predicate
Statement getFirstQuadAsSubject(IResourceNode predicate)
INode getFirstObject(IResourceNode predicate)
predicate - the predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||