public class ModelAddRemoveMemoryImpl extends AbstractModelAddRemove implements ModelAddRemove
| Constructor and Description |
|---|
ModelAddRemoveMemoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(Resource subject,
URI predicate,
Node object)
adds a (subject, property ,object)-statement to this model
|
Diff |
getDiff(Iterator<? extends Statement> statements) |
Set<Statement> |
getSet() |
boolean |
isLocked() |
ClosableIterator<Statement> |
iterator()
Returns an iterator over a set of elements of type T.
|
void |
lock()
Tries to obtain a lock.
|
void |
removeStatement(Resource subject,
URI predicate,
Node object)
remove a (subject, property ,object)-statement from the model
|
long |
size() |
void |
unlock()
Removes a lock.
|
removeAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, updateaddAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, updateforEach, spliteratoraddAll, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatementpublic void addStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelWriteraddStatement in interface ModelWriteraddStatement in class AbstractModelAddRemovesubject - of the statementpredicate - of the statementobject - of the statementModelRuntimeException - if there is either an error with the
underlying model or an IOExceptionpublic void removeStatement(Resource subject, URI predicate, Node object) throws ModelRuntimeException
ModelAddRemoveremoveStatement in interface ModelAddRemoveremoveStatement in class AbstractModelAddRemovesubject - URI or Object (= blankNode)object - URI or String (=plainLiteral) or BlankNode (=blankNode) or
TypedLiteral or LanguageTagLiteralModelRuntimeExceptionpublic void lock()
throws LockException
Lockablelock in interface LockableLockException - if already lockedpublic boolean isLocked()
public void unlock()
Lockablepublic Diff getDiff(Iterator<? extends Statement> statements) throws ModelRuntimeException
getDiff in interface ModelAddRemoveModelRuntimeExceptionpublic ClosableIterator<Statement> iterator()
ClosableIterablepublic long size()
Copyright © 2005–2016 IT-Consulting Dr. Max V?lkel | Project started at FZI Forschungszentrum Informatik, www.fzi.de. All rights reserved.