public interface MemValue extends Value
Modifier and Type | Field and Description |
---|---|
static MemStatementList |
EMPTY_LIST
A shared empty MemStatementList that is returned by MemURI and MemBNode to represent an empty list.
|
Modifier and Type | Method and Description |
---|---|
void |
addObjectStatement(MemStatement st)
Adds a statement to this MemValue's list of statements for which it is the object.
|
void |
cleanSnapshotsFromObjectStatements(int currentSnapshot)
Removes statements from old snapshots (those that have expired at or before the specified snapshot version) from
this MemValue's list of statements for which it is the object.
|
Object |
getCreator()
Returns the object that created this MemValue.
|
int |
getObjectStatementCount()
Gets the number of statements for which this MemValue is the object.
|
MemStatementList |
getObjectStatementList()
Gets the list of statements for which this MemValue is the object.
|
boolean |
hasStatements()
Checks whether this MemValue has any statements.
|
void |
removeObjectStatement(MemStatement st)
Removes a statement from this MemValue's list of statements for which it is the object.
|
isBNode, isIRI, isLiteral, isResource, isTriple, stringValue
static final MemStatementList EMPTY_LIST
Object getCreator()
boolean hasStatements()
MemStatementList getObjectStatementList()
int getObjectStatementCount()
void addObjectStatement(MemStatement st)
void removeObjectStatement(MemStatement st)
void cleanSnapshotsFromObjectStatements(int currentSnapshot)
currentSnapshot
- The current snapshot version.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.