org.ontoware.rdf2go.model.impl
Class AbstractLockingModel

java.lang.Object
  extended by org.ontoware.rdf2go.model.impl.AbstractModelWriter
      extended by org.ontoware.rdf2go.model.impl.AbstractModelAddRemove
          extended by org.ontoware.rdf2go.model.impl.AbstractModelRemovePatterns
              extended by org.ontoware.rdf2go.model.impl.AbstractModel
                  extended by org.ontoware.rdf2go.model.impl.AbstractLockingModel
All Implemented Interfaces:
java.lang.Iterable<Statement>, ClosableIterable<Statement>, Commitable, FindableModel, Lockable, Model, ModelAddRemove, ModelIO, ModelRemovePatterns, ModelValueFactory, ModelWriter, NamespaceSupport, QueryableModel, ReificationSupport, Sparqlable

public abstract class AbstractLockingModel
extends AbstractModel
implements Model

adapter that maps the rdf2go model functions to a smaller subset of methods

Author:
mvo

Field Summary
 
Fields inherited from class org.ontoware.rdf2go.model.impl.AbstractModel
model
 
Constructor Summary
AbstractLockingModel()
           
 
Method Summary
 void update(DiffReader diff)
          Using lock() and unlock()
 
Methods inherited from class org.ontoware.rdf2go.model.impl.AbstractModel
addAll, addModel, addReificationOf, addReificationOf, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, addStatement, assertModel, close, commit, contains, contains, contains, countStatements, createDatatypeLiteral, createLanguageTagLiteral, createPlainLiteral, createStatement, createTriplePattern, createURI, deleteReification, findStatements, getAllReificationsOf, getDiff, getProperty, getUnderlyingModelImplementation, hasReifications, isEmpty, isOpen, newRandomUniqueURI, open, queryConstruct, querySelect, readFrom, readFrom, readFrom, removeAll, removeAll, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatement, removeStatements, removeStatements, serialize, setAutocommit, setProperty, size, sparqlAsk, writeTo
 
Methods inherited from class org.ontoware.rdf2go.model.impl.AbstractModelAddRemove
addStatement, removeStatement, 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.Model
addModel, close, dump, getContextURI, getProperty, getUnderlyingModelImplementation, isEmpty, isIsomorphicWith, isOpen, open, setProperty, size
 
Methods inherited from interface org.ontoware.rdf2go.model.ModelValueFactory
createBlankNode, createBlankNode, createDatatypeLiteral, createLanguageTagLiteral, createPlainLiteral, createStatement, createURI, isValidURI, newRandomUniqueURI
 
Methods inherited from interface org.ontoware.rdf2go.model.ModelRemovePatterns
removeStatements, removeStatements
 
Methods inherited from interface org.ontoware.rdf2go.model.FindableModel
contains, contains, contains, countStatements, createTriplePattern, findStatements, findStatements
 
Methods inherited from interface org.ontoware.rdf2go.model.Sparqlable
queryConstruct, querySelect, sparqlAsk, sparqlConstruct, sparqlDescribe, sparqlSelect
 
Methods inherited from interface org.ontoware.rdf2go.model.FindableModel
contains, contains, contains, countStatements, createTriplePattern, findStatements, findStatements
 
Methods inherited from interface org.ontoware.rdf2go.model.ModelIO
readFrom, readFrom, readFrom, readFrom, readFrom, readFrom, serialize, writeTo, writeTo, writeTo, writeTo
 
Methods inherited from interface org.ontoware.rdf2go.model.Commitable
commit, setAutocommit
 
Methods inherited from interface org.ontoware.rdf2go.model.ReificationSupport
addReificationOf, addReificationOf, deleteReification, getAllReificationsOf, hasReifications
 
Methods inherited from interface org.ontoware.rdf2go.model.NamespaceSupport
getNamespace, getNamespaces, removeNamespace, setNamespace
 

Constructor Detail

AbstractLockingModel

public AbstractLockingModel()
Method Detail

update

public void update(DiffReader diff)
            throws ModelRuntimeException
Using lock() and unlock()

Specified by:
update in interface ModelAddRemove
Overrides:
update in class AbstractModel
Throws:
ModelRuntimeException


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.