org.ontoware.rdf2go.model.impl
Class ModelAddRemoveMemoryImpl
java.lang.Object
org.ontoware.rdf2go.model.impl.AbstractModelWriter
org.ontoware.rdf2go.model.impl.AbstractModelAddRemove
org.ontoware.rdf2go.model.impl.ModelAddRemoveMemoryImpl
- All Implemented Interfaces:
- java.lang.Iterable<Statement>, ClosableIterable<Statement>, Lockable, ModelAddRemove, ModelWriter
public class ModelAddRemoveMemoryImpl
- extends AbstractModelAddRemove
- implements ModelAddRemove
| Methods inherited from class org.ontoware.rdf2go.model.impl.AbstractModelAddRemove |
removeAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, update, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ontoware.rdf2go.model.ModelAddRemove |
removeAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, update, update |
set
protected java.util.Set<Statement> set
ModelAddRemoveMemoryImpl
public ModelAddRemoveMemoryImpl()
addStatement
public void addStatement(Resource subject,
URI predicate,
Node object)
throws ModelRuntimeException
- Specified by:
addStatement in interface ModelWriter- Specified by:
addStatement in class AbstractModelAddRemove
- Throws:
ModelRuntimeException
removeStatement
public void removeStatement(Resource subject,
URI predicate,
Node object)
throws ModelRuntimeException
- Specified by:
removeStatement in interface ModelAddRemove- Specified by:
removeStatement in class AbstractModelAddRemove
- Throws:
ModelRuntimeException
getSet
public java.util.Set<Statement> getSet()
lock
public void lock()
throws LockException
- Specified by:
lock in interface Lockable
- Throws:
LockException
isLocked
public boolean isLocked()
- Specified by:
isLocked in interface Lockable
unlock
public void unlock()
- Specified by:
unlock in interface Lockable
getDiff
public Diff getDiff(java.util.Iterator<? extends Statement> statements)
throws ModelRuntimeException
- Specified by:
getDiff in interface ModelAddRemove
- Throws:
ModelRuntimeException
iterator
public ClosableIterator<Statement> iterator()
- Specified by:
iterator in interface java.lang.Iterable<Statement>- Specified by:
iterator in interface ClosableIterable<Statement>
size
public long size()
Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.