edu.stanford.smi.protegex.owl.jena.triplestore
Class JenaTripleStoreModel

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.model.triplestore.impl.AbstractTripleStoreModel
      extended byedu.stanford.smi.protegex.owl.jena.triplestore.JenaTripleStoreModel
All Implemented Interfaces:
TripleStoreModel

public class JenaTripleStoreModel
extends AbstractTripleStoreModel

Author:
Holger Knublauch

Field Summary
private  JenaOWLModel owlModel
           
 
Fields inherited from class edu.stanford.smi.protegex.owl.model.triplestore.impl.AbstractTripleStoreModel
mnfs, ts
 
Constructor Summary
JenaTripleStoreModel(JenaOWLModel owlModel)
           
 
Method Summary
 TripleStore createTripleStore(String name)
          A low level method that creates and adds a new TripleStore to implement imports.
 void deleteTripleStore(TripleStore tripleStore)
          Deletes an imported TripleStore.
static void ensureActiveTripleStore(RDFResource resource)
           
 TripleStore getTripleStoreByDefaultNamespace(String namespace)
          Gets the first TripleStore that uses a given default namespace.
private  void initTripleStores()
           
private  void updateRemoveFrameStores()
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.model.triplestore.impl.AbstractTripleStoreModel
endTripleStoreChanges, getActiveTripleStore, getHomeTripleStore, getPropertyValues, getSlotValues, getTopTripleStore, getTripleStore, getTripleStore, getTripleStores, isActiveTriple, isEditableTriple, isEditableTripleStore, listTriplesWithSubject, listUserTripleStores, replaceJavaObject, setActiveTripleStore, setHomeTripleStore, updateEditableResourceState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

owlModel

private JenaOWLModel owlModel
Constructor Detail

JenaTripleStoreModel

public JenaTripleStoreModel(JenaOWLModel owlModel)
Method Detail

createTripleStore

public TripleStore createTripleStore(String name)
Description copied from interface: TripleStoreModel
A low level method that creates and adds a new TripleStore to implement imports.

Parameters:
name - the name of the new TripleStore (must be unique)
Returns:
the new TripleStore

deleteTripleStore

public void deleteTripleStore(TripleStore tripleStore)
Description copied from interface: TripleStoreModel
Deletes an imported TripleStore.

Parameters:
tripleStore - the TripleStore to delete (must be neither system nor top TripleStore)

ensureActiveTripleStore

public static void ensureActiveTripleStore(RDFResource resource)

getTripleStoreByDefaultNamespace

public TripleStore getTripleStoreByDefaultNamespace(String namespace)
Description copied from interface: TripleStoreModel
Gets the first TripleStore that uses a given default namespace.

Parameters:
namespace - the namespace
Returns:
the TripleStore or null

initTripleStores

private void initTripleStores()

updateRemoveFrameStores

private void updateRemoveFrameStores()