|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.model.impl.BNodeImpl
org.openrdf.sesame.sailimpl.memory.BNodeNode
An extension of BNode giving it node properties.
| Field Summary |
| Fields inherited from interface org.openrdf.sesame.sailimpl.memory.ResourceNode |
EMPTY_LIST |
| Method Summary | |
void |
addObjectStatement(Statement st)
Adds a statement to this BNodeNode's list of statements for which it is the object. |
void |
addProperty(URI property,
Value value)
Adds a property to this Resource in the RDF graph. |
void |
addSubjectStatement(Statement st)
Adds a statement to this BNodeNode's list of statements for which it is the subject. |
void |
clearCache()
clears all caches for direct type, subclass and subproperty relations. |
StatementIterator |
getDirectSubClassStatements()
|
StatementIterator |
getDirectSubPropertyStatements()
|
StatementIterator |
getDirectTypeStatements()
|
int |
getObjectStatementCount()
Gets the amount of Statements for which this BNodeNode is the object. |
StatementList |
getObjectStatementList()
|
StatementIterator |
getObjectStatements()
Gets the list of Statements for which this BNodeNode is the object. |
RdfSource |
getRdfSource()
Returns the RdfSource that contains this ValueNode. |
int |
getSubjectStatementCount()
Gets the amount of Statements for which this BNodeNode is the subject. |
StatementList |
getSubjectStatementList()
|
StatementIterator |
getSubjectStatements()
Gets the list of Statements for which this BNodeNode is the subject. |
boolean |
isDirectSubClass(Resource aClass)
|
boolean |
isDirectSubProperty(Resource aProperty)
|
boolean |
isDirectType(Resource aClass)
|
void |
removeObjectStatement(Statement st)
Removes a statement from this BNodeNode's list of statements for which it is the object. |
void |
removeSubjectStatement(Statement st)
Removes a statement from this BNodeNode's list of statements for which it is the subject. |
| Methods inherited from class org.openrdf.model.impl.BNodeImpl |
compareTo, equals, getID, hashCode, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public StatementList getSubjectStatementList()
getSubjectStatementList in interface ResourceNodepublic StatementIterator getSubjectStatements()
getSubjectStatements in interface ResourcegetSubjectStatements in class BNodeImplpublic int getSubjectStatementCount()
getSubjectStatementCount in interface ResourceNodepublic void addSubjectStatement(Statement st)
addSubjectStatement in interface ResourceNodepublic void removeSubjectStatement(Statement st)
removeSubjectStatement in interface ResourceNodepublic StatementList getObjectStatementList()
getObjectStatementList in interface ValueNodepublic StatementIterator getObjectStatements()
getObjectStatements in interface ValuegetObjectStatements in class BNodeImplpublic int getObjectStatementCount()
getObjectStatementCount in interface ValueNodepublic void addObjectStatement(Statement st)
addObjectStatement in interface ValueNodepublic void removeObjectStatement(Statement st)
removeObjectStatement in interface ValueNodepublic RdfSource getRdfSource()
ValueNode
getRdfSource in interface ValueNode
public void addProperty(URI property,
Value value)
throws GraphException
Resource
addProperty in interface ResourceaddProperty in class BNodeImplGraphExceptionpublic StatementIterator getDirectSubClassStatements()
getDirectSubClassStatements in interface ResourceNodepublic boolean isDirectSubClass(Resource aClass)
isDirectSubClass in interface ResourceNodepublic StatementIterator getDirectTypeStatements()
getDirectTypeStatements in interface ResourceNodepublic boolean isDirectType(Resource aClass)
isDirectType in interface ResourceNodepublic StatementIterator getDirectSubPropertyStatements()
getDirectSubPropertyStatements in interface ResourceNodepublic boolean isDirectSubProperty(Resource aProperty)
isDirectSubProperty in interface ResourceNodepublic void clearCache()
ResourceNode
clearCache in interface ResourceNode
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||