public class MemStatement extends ContextStatement
| Constructor and Description |
|---|
MemStatement(MemResource subject,
MemIRI predicate,
MemValue object,
MemResource context,
boolean explicit,
int sinceSnapshot)
Creates a new MemStatement with the supplied subject, predicate, object and context.
|
MemStatement(MemResource subject,
MemIRI predicate,
MemValue object,
MemResource context,
int sinceSnapshot)
Creates a new MemStatement with the supplied subject, predicate, object and context and marks it as 'explicit'.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToComponentLists()
Lets this statement add itself to the appropriate statement lists of its subject, predicate, object and context.
|
MemResource |
getContext()
Gets the context of this statement.
|
MemValue |
getObject()
Gets the object of this statement.
|
MemIRI |
getPredicate()
Gets the predicate of this statement.
|
int |
getSinceSnapshot() |
MemResource |
getSubject()
Gets the subject of this statement.
|
int |
getTillSnapshot() |
boolean |
isExplicit() |
boolean |
isInSnapshot(int snapshot) |
void |
removeFromComponentLists()
Lets this statement remove itself from the appropriate statement lists of its subject, predicate, object and
context.
|
void |
setExplicit(boolean explicit) |
void |
setSinceSnapshot(int snapshot) |
void |
setTillSnapshot(int snapshot) |
toStringequals, hashCodepublic MemStatement(MemResource subject, MemIRI predicate, MemValue object, MemResource context, int sinceSnapshot)
public MemStatement(MemResource subject, MemIRI predicate, MemValue object, MemResource context, boolean explicit, int sinceSnapshot)
public MemResource getSubject()
StatementgetSubject in interface StatementgetSubject in class SimpleStatementpublic MemIRI getPredicate()
StatementgetPredicate in interface StatementgetPredicate in class SimpleStatementpublic MemValue getObject()
StatementgetObject in interface StatementgetObject in class SimpleStatementpublic MemResource getContext()
StatementgetContext in interface StatementgetContext in class ContextStatementpublic void setSinceSnapshot(int snapshot)
public int getSinceSnapshot()
public void setTillSnapshot(int snapshot)
public int getTillSnapshot()
public boolean isInSnapshot(int snapshot)
public void setExplicit(boolean explicit)
public boolean isExplicit()
public void addToComponentLists()
public void removeFromComponentLists()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.