public class MemStatement extends ContextStatementImpl
| Constructor and Description |
|---|
MemStatement(MemResource subject,
MemURI predicate,
MemValue object,
MemResource context,
boolean explicit,
int sinceSnapshot)
Creates a new MemStatement with the supplied subject, predicate, object
and context.
|
MemStatement(MemResource subject,
MemURI 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.
|
MemURI |
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, MemURI predicate, MemValue object, MemResource context, int sinceSnapshot)
public MemStatement(MemResource subject, MemURI predicate, MemValue object, MemResource context, boolean explicit, int sinceSnapshot)
public MemResource getSubject()
StatementgetSubject in interface StatementgetSubject in class StatementImplpublic MemURI getPredicate()
StatementgetPredicate in interface StatementgetPredicate in class StatementImplpublic MemValue getObject()
StatementgetObject in interface StatementgetObject in class StatementImplpublic MemResource getContext()
StatementgetContext in interface StatementgetContext in class ContextStatementImplpublic 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()
TxnStatus#NEW.public void removeFromComponentLists()
Copyright © 2001–2015 Aduna. All rights reserved.