|
|||||||||||
| 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.nativerdf.model.NativeBNode
| Constructor Summary | |
NativeBNode(NativeRdfRepository repository,
BNode bnode)
|
|
NativeBNode(NativeRdfRepository repository,
String nodeID)
|
|
| Method Summary | |
void |
addProperty(URI property,
Value value)
Adds a property to this Resource in the RDF graph. |
int |
getInternalId()
Gets the ID that is used in the native RDF repository for this Value. |
StatementIterator |
getObjectStatements()
Gets all statements from the RDF graph for which this value is the object. |
NativeRdfRepository |
getRepository()
Returns the NativeRdfRepository that contains this NativeValue. |
StatementIterator |
getSubjectStatements()
Gets all statements from the RDF graph for which this resource is the subject. |
ValueStoreRevision |
getValueStoreRevision()
Gets the revision of the value store that created this value. |
void |
setInternalId(int id,
ValueStoreRevision revision)
Sets the ID that is used for this value in a specific revision of the value store. |
| 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 |
| Constructor Detail |
public NativeBNode(NativeRdfRepository repository,
String nodeID)
public NativeBNode(NativeRdfRepository repository,
BNode bnode)
| Method Detail |
public NativeRdfRepository getRepository()
NativeValue
getRepository in interface NativeValue
public void setInternalId(int id,
ValueStoreRevision revision)
NativeValue
setInternalId in interface NativeValuepublic int getInternalId()
NativeValue
getInternalId in interface NativeValuepublic ValueStoreRevision getValueStoreRevision()
NativeValue
getValueStoreRevision in interface NativeValue
public StatementIterator getSubjectStatements()
throws GraphException
Resource
getSubjectStatements in interface ResourcegetSubjectStatements in class BNodeImplGraphException
public StatementIterator getObjectStatements()
throws GraphException
Value
getObjectStatements in interface ValuegetObjectStatements in class BNodeImplGraphException
public void addProperty(URI property,
Value value)
throws GraphException
Resource
addProperty in interface ResourceaddProperty in class BNodeImplGraphException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||