Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.database
Class OWLDatabaseModel

java.lang.Object
  extended by edu.stanford.smi.protege.model.DefaultKnowledgeBase
      extended by edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel
          extended by edu.stanford.smi.protegex.owl.database.OWLDatabaseModel
All Implemented Interfaces:
edu.stanford.smi.protege.model.KnowledgeBase, edu.stanford.smi.protege.util.Disposable, OntModelProvider, NamespaceManagerListener, OWLModel, ProtegeKnowledgeBase, OWLTestManager

public class OWLDatabaseModel
extends AbstractOWLModel
implements OntModelProvider

An AbstractOWLModel with extra support for databases.

Author:
Holger Knublauch

Field Summary
 
Fields inherited from class edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel
ANONYMOUS_BASE, DEFAULT_ANNOTATION_PROPERTY_NAME, DEFAULT_CLASS_NAME, DEFAULT_DATATYPE_PROPERTY_NAME, DEFAULT_INDIVIDUAL_NAME, DEFAULT_OBJECT_PROPERTY_NAME, DEFAULT_PROPERTY_NAME, DEFAULT_TODO_PREFIX, DEFAULT_USED_LANGUAGES
 
Fields inherited from class edu.stanford.smi.protege.model.DefaultKnowledgeBase
SERVER_PROCESS_USER
 
Fields inherited from interface edu.stanford.smi.protegex.owl.jena.OntModelProvider
OWL_DL, OWL_FULL, OWL_LITE
 
Fields inherited from interface edu.stanford.smi.protege.model.KnowledgeBase
MAXIMUM_CARDINALITY_UNBOUNDED, UNLIMITED_MATCHES
 
Constructor Summary
OWLDatabaseModel(edu.stanford.smi.protege.model.KnowledgeBaseFactory factory)
           
 
Method Summary
 OWLOntology getDefaultOWLOntology()
           
 String getNextAnonymousResourceName()
          Gets the next name that can be used to create an "anonymous" instance.
 com.hp.hpl.jena.ontology.OntModel getOntModel()
          Gets an OntModel which represents the current state.
 com.hp.hpl.jena.ontology.OntModel getOWLDLOntModel()
          Gets or prepares an OntModel which is guaranteed to be in OWL DL, for classification and other reasoning tasks.
 int getOWLSpecies()
          Gets the OWL Species of the current main OntModel.
 com.hp.hpl.jena.ontology.OntModel getReasonerOntModel(String classifierURL)
          Gets an OntModel that is connected to a (DIG) reasoner.
 TripleStoreModel getTripleStoreModel()
           
 void initCustomFrameStores()
           
 void initDefaultNamespaces()
           
 void initialize()
           
 void initializeClient()
          Initializes the OWLDatabaseModel in the case that it is a client of a remote server.
 void initOWLFrameFactoryInvocationHandler()
           
 void resetTripleStoreModel()
           
 void setProject(edu.stanford.smi.protege.model.Project project)
           
 void setTripleStoreModel(TripleStoreModel tripleStoreModel)
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel
addClassListener, addModelListener, addOWLTest, addPropertyListener, addPropertyValueListener, addResourceListener, adjustClientFrameStores, adjustSystemClasses, adjustThing, asRDFObject, asRDFSLiteral, asRDFSLiterals, bootstrap, copyFacetValuesIntoNamedClses, createAnnotationOWLDatatypeProperty, createAnnotationOWLObjectProperty, createCls, createDefaultOWLOntologyReally, createFrameStoreManager, createInstance, createNewResourceName, createOWLAllDifferent, createOWLAllValuesFrom, createOWLAllValuesFrom, createOWLAllValuesFrom, createOWLCardinality, createOWLCardinality, createOWLCardinality, createOWLComplementClass, createOWLComplementClass, createOWLDataRange, createOWLDataRange, createOWLDatatypeProperty, createOWLDatatypeProperty, createOWLDatatypeProperty, createOWLDatatypeProperty, createOWLEnumeratedClass, createOWLEnumeratedClass, createOWLHasValue, createOWLHasValue, createOWLIntersectionClass, createOWLIntersectionClass, createOWLMaxCardinality, createOWLMaxCardinality, createOWLMaxCardinality, createOWLMinCardinality, createOWLMinCardinality, createOWLMinCardinality, createOWLNamedClass, createOWLNamedClass, createOWLNamedClass, createOWLNamedSubclass, createOWLObjectProperty, createOWLObjectProperty, createOWLObjectProperty, createOWLOntology, createOWLOntology, createOWLSomeValuesFrom, createOWLSomeValuesFrom, createOWLSomeValuesFrom, createOWLUnionClass, createOWLUnionClass, createRDFExternalResource, createRDFList, createRDFList, createRDFProperty, createRDFSClassFromExpression, createRDFSDatatype, createRDFSLiteral, createRDFSLiteral, createRDFSLiteral, createRDFSLiteralOrString, createRDFSNamedClass, createRDFSNamedClass, createRDFSNamedClass, createRDFSNamedSubclass, createRDFUntypedResource, createSubclass, createSubclass, createSubproperty, createSystemFrames, createTriple, createUniqueNewFrameName, defaultNamespaceChanged, deleteAllFrames, deleteCls, dispose, endTransaction, ensureProtegeMetaOntologyImported, executeSPARQLQuery, getAllImports, getAnonymousRootCls, getBrowserText, getCacheMachine, getChangedInferredClasses, getCommonSuperclass, getCommonSuperclasses, getDefaultLanguage, getDomainlessProperties, getFloatDatatypes, getFrameNameForURI, getInconsistentClasses, getIntegerDatatypes, getJenaModel, getLocalNameForResourceName, getLocalNameForURI, getMatchingResources, getNamespaceForResourceName, getNamespaceForURI, getNamespaceManager, getOWLAllDifferentClass, getOWLAllDifferentClassCls, getOWLAllDifferents, getOWLAnnotationProperties, getOWLAnnotationPropertyClass, getOWLClassDisplay, getOWLClasses, getOWLClassParser, getOWLDataRangeClass, getOWLDatatypeProperty, getOWLDatatypePropertyClass, getOWLDatatypePropertyMetaClassCls, getOWLDeprecatedClassClass, getOWLDifferentFromProperty, getOWLDisjointWithProperty, getOWLDistinctMembersProperty, getOWLEquivalentClassProperty, getOWLEquivalentPropertyProperty, getOWLFrameStore, getOWLFunctionalPropertyClass, getOWLIndividual, getOWLIndividuals, getOWLIndividuals, getOWLIntersectionOfProperty, getOWLInverseFunctionalPropertyClass, getOWLInverseOfProperty, getOWLJavaFactory, getOWLNamedClass, getOWLNamedClassClass, getOWLNamedClassMetaClassCls, getOWLNothing, getOWLObjectProperty, getOWLObjectPropertyClass, getOWLObjectPropertyMetaClassCls, getOWLOneOfProperty, getOWLOntologies, getOWLOntologyByURI, getOWLOntologyByURI, getOWLOntologyClass, getOWLOntologyCls, getOWLOntologyProperties, getOWLProject, getOWLProperty, getOWLRestrictionMetaclasses, getOWLRestrictionsOnProperty, getOWLSameAsProperty, getOWLSomeValuesFromRestrictionClass, getOWLSystemFramesArray, getOWLSystemResources, getOWLTests, getOWLThingClass, getOWLUnionOfProperty, getOWLValuesFromProperty, getOWLValueType, getOWLVersionInfoProperty, getPrefixForResourceName, getPropertyValueLiterals, getPropertyValueValidator, getProtegeAllowedParentProperty, getProtegeClassificationStatusProperty, getProtegeInferredSubclassesProperty, getProtegeInferredSuperclassesProperty, getProtegeReadOnlyProperty, getProtegeSubclassesDisjointProperty, getRDFExternalResource, getRDFExternalResourceClass, getRDFFirstProperty, getRDFIndividual, getRDFIndividuals, getRDFIndividuals, getRDFListClass, getRDFListCls, getRDFNil, getRDFProperties, getRDFProperty, getRDFPropertyClass, getRDFResource, getRDFResourceAs, getRDFResourceByBrowserText, getRDFResourceByNameOrBrowserText, getRDFResourceCount, getRDFResources, getRDFResources, getRDFResourcesWithPropertyValue, getRDFRestProperty, getRDFSClassCount, getRDFSClasses, getRDFSClassMetaClassCls, getRDFSCommentProperty, getRDFSDatatypeByName, getRDFSDatatypeByURI, getRDFSDatatypeClass, getRDFSDatatypeFactory, getRDFSDatatypeOfValue, getRDFSDatatypes, getRDFSDomainProperty, getRDFSIsDefinedByProperty, getRDFSLabelProperty, getRDFSNamedClass, getRDFSNamedClassClass, getRDFSRangeProperty, getRDFSSubClassOfProperty, getRDFSSubPropertyOfProperty, getRDFTypeProperty, getRDFUntypedResource, getRDFUntypedResourcesClass, getRDFXMLLiteralType, getRepositoryManager, getResourceNameForURI, getResourceNameMatches, getResourcesWithPrefix, getRootCls, getRootSlotMetaCls, getSearchSynonymProperties, getSystemAnnotationProperties, getTaskManager, getTodoAnnotationPrefix, getTodoAnnotationProperty, getUniqueFrameName, getURIForResourceName, getUsedLanguages, getUserDefinedOWLDatatypeProperties, getUserDefinedOWLNamedClasses, getUserDefinedOWLObjectProperties, getUserDefinedOWLProperties, getUserDefinedRDFIndividuals, getUserDefinedRDFProperties, getUserDefinedRDFSNamedClasses, getValidNamespaceFrameName, getValidOWLFrameName, getValueLiterals, getValueTypeURI, getVisibleResources, getVisibleUserDefinedOWLProperties, getVisibleUserDefinedRDFProperties, getXSDanyURI, getXSDbase64Binary, getXSDboolean, getXSDbyte, getXSDdate, getXSDdateTime, getXSDdecimal, getXSDdouble, getXSDduration, getXSDfloat, getXSDint, getXSDinteger, getXSDlong, getXSDshort, getXSDstring, getXSDtime, initialize, initOWLFrameStore, isAnonymousResource, isAnonymousResourceName, isAutoRepairEnabled, isDefaultAnonymousType, isDefaultAnonymousType, isOWLSystemFrame, isOWLTestGroupEnabled, isProtegeMetaOntologyImported, isSlotMetaCls, isTrueInstance, isValidOWLFrameName, isValidOWLFrameName, isValidPropertyValue, isValidResourceName, listOWLAnonymousClasses, listOWLNamedClasses, listRDFProperties, listRDFSNamedClasses, listReferences, listSubjects, namespaceChanged, prefixAdded, prefixChanged, prefixRemoved, removeClassListener, removeModelListener, removeOWLTest, removePropertyListener, removePropertyValueListener, removeResourceListener, replacePrefixInInstances, resetJenaModel, setAutoRepairEnabled, setCacheMachine, setDefaultOWLOntology, setDirectOwnSlotValues, setDirectType, setLoadDefaults, setNamespaceManager, setOWLClassDisplay, setOWLJavaFactory, setOWLProject, setOWLTestGroupEnabled, setPropertyValueValidator, setSearchSynonymProperties, setTaskManager
 
Methods inherited from class edu.stanford.smi.protege.model.DefaultKnowledgeBase
addClsListener, addClsListener, addDirectSuperclass, addDirectSuperslot, addDirectTemplateSlot, addDirectType, addDirectTypes, addFacetListener, addFacetListener, addFrameListener, addFrameListener, addInstance, addInstanceListener, addInstanceListener, addJavaLoadPackage, addKnowledgeBaseListener, addOwnSlotValue, addSlotListener, addSlotListener, addTemplateFacetValue, addTemplateSlotValue, addTransactionListener, areValidOwnSlotValues, beginTransaction, beginTransaction, changeFrameName, clearAllListeners, close, commitTransaction, containsFrame, createCls, createCls, createCls, createCls, createFacet, createFacet, createFacet, createFacet, createFrameFactory, createInstance, createInstance, createInstance, createInstance, createSimpleInstance, createSimpleInstance, createSimpleInstance, createSlot, createSlot, createSlot, createSlot, createSlot, createUniqueFrameName, deleteFacet, deleteFrame, deleteInstance, deleteSimpleInstance, deleteSlot, endTransaction, equals, executeQuery, flushCache, flushEvents, getAllowedClses, getAllowedParents, getAllowedValues, getAllowsMultipleValues, getAssociatedFacet, getAssociatedSlot, getBuildString, getClientInformation, getCls, getClsCount, getClses, getClsesWithMatchingBrowserText, getClsNameMatches, getCommandManager, getCurrentUsers, getDefaultClsMetaCls, getDefaultFacetMetaCls, getDefaultSlotMetaCls, getDefaultValues, getDirectBrowserSlotPattern, getDirectDomain, getDirectInstanceCount, getDirectInstances, getDirectlyOverriddenTemplateFacets, getDirectlyOverriddenTemplateSlots, getDirectOwnSlotValue, getDirectOwnSlotValues, getDirectOwnSlotValuesClosure, getDirectSubclassCount, getDirectSubclasses, getDirectSubslotCount, getDirectSubslots, getDirectSuperclassCount, getDirectSuperclasses, getDirectSuperslotCount, getDirectSuperslots, getDirectTemplateFacetValues, getDirectTemplateSlots, getDirectTemplateSlotValues, getDirectType, getDirectTypes, getDispatchEventsEnabled, getDisplaySlotNotSetString, getDisplaySlotPatternValueNotSetString, getDocumentation, getDomain, getEventsEnabled, getFacet, getFacetCheckingEnabled, getFacetCount, getFacets, getFrame, getFrame, getFrameCount, getFrameCounts, getFrameCreationTimestamp, getFrameCreator, getFrameFactory, getFrameLastModificationTimestamp, getFrameLastModifier, getFrameNameMatches, getFrameNamePrefix, getFrames, getFrameStoreManager, getFrameStores, getFramesWithMatchingDirectOwnSlotValue, getFramesWithValue, getGenerateEventsEnabled, getHeadFrameStore, getInheritedTemplateSlots, getInstance, getInstanceCount, getInstances, getInstances, getInvalidFrameNameDescription, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getInverseSlot, getKnowledgeBaseFactory, getMatchingFrames, getMatchingReferences, getMaximumCardinality, getMaximumCardinality2, getMaximumValue, getMinimumCardinality, getMinimumValue, getMissingTypeString, getName, getName, getNameSlot, getNextFrameNumber, getOverriddenTemplateFacets, getOverriddenTemplateSlots, getOwnFacets, getOwnFacetValues, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReachableSimpleInstances, getReachableSimpleInstances, getReferences, getReferences, getReifedRelationFromSlot, getReifedRelationToSlot, getReifiedRelationCls, getRootClses, getRootClsMetaCls, getRootFacetMetaCls, getRootSlots, getSimpleInstance, getSimpleInstanceCount, getSlot, getSlotCount, getSlots, getSlotValueLastModificationTimestamp, getSlotValueLastModifier, getSubclasses, getSubslots, getSuperclasses, getSuperslots, getSystemFrames, getTemplateFacets, getTemplateFacetValue, getTemplateFacetValues, getTemplateSlotAllowedClses, getTemplateSlotAllowedParents, getTemplateSlotAllowedValues, getTemplateSlotAllowsMultipleValues, getTemplateSlotDefaultValues, getTemplateSlotDocumentation, getTemplateSlotMaximumCardinality, getTemplateSlotMaximumCardinality2, getTemplateSlotMaximumValue, getTemplateSlotMinimumCardinality, getTemplateSlotMinimumCardinality2, getTemplateSlotMinimumValue, getTemplateSlots, getTemplateSlotValue, getTemplateSlotValues, getTemplateSlotValueType, getTerminalFrameStore, getTypes, getUnreachableSimpleInstances, getUserName, getValueChecking, getValues, getValueType, getVersionString, hasChanged, hasDirectlyOverriddenTemplateFacet, hasDirectlyOverriddenTemplateSlot, hasDirectSuperclass, hasDirectSuperslot, hasDirectTemplateSlot, hasDirectType, hasInheritedTemplateSlot, hasOverriddenTemplateFacet, hasOverriddenTemplateSlot, hasOwnSlot, hasSlotValueAtSomeFrame, hasSuperclass, hasSuperslot, hasTemplateSlot, hasType, insertFrameStore, insertFrameStore, isAbstract, isAutoUpdatingFacetValues, isCallCachingEnabled, isClosed, isClsMetaCls, isDefaultClsMetaCls, isDefaultFacetMetaCls, isDefaultSlotMetaCls, isFacetMetaCls, isJournalingEnabled, isLoading, isMetaCls, isUndoEnabled, isValidFrameName, isValidOwnSlotValue, moveDirectOwnSlotValue, moveDirectSubclass, moveDirectSubclass, moveDirectSubslot, moveDirectSubslot, moveDirectTemplateSlot, moveDirectType, notifyVisibilityChanged, removeClsListener, removeClsListener, removeDirectSuperclass, removeDirectSuperslot, removeDirectTemplateFacetOverrides, removeDirectTemplateSlot, removeDirectType, removeDirectTypes, removeFacetListener, removeFacetListener, removeFrameListener, removeFrameListener, removeFrameStore, removeInstanceListener, removeInstanceListener, removeJavaLoadPackage, removeKnowledgeBaseListener, removeOwnSlotValue, removeSlotListener, removeSlotListener, removeTemplateFacetOverrides, removeTransactionListener, rollbackTransaction, setAbstract, setAllowedClses, setAllowedParents, setAllowedValues, setAllowsMultipleValues, setArgumentCheckingEnabled, setAssociatedFacet, setAssociatedSlot, setAutoUpdateFacetValues, setBuildString, setCallCachingEnabled, setChanged, setChangeMonitorEnabled, setCleanDispatchEnabled, setClientInformation, setDefaultClsMetaCls, setDefaultFacetMetaCls, setDefaultSlotMetaCls, setDefaultValues, setDirectBrowserSlot, setDirectBrowserSlotPattern, setDirectBrowserTextPattern, setDirectOwnSlotValue, setDirectTemplateFacetValue, setDirectTemplateFacetValues, setDirectTemplateSlotValues, setDirectTypeOfSubclasses, setDirectTypeOfSubslots, setDirectTypes, setDispatchEventsEnabled, setDocumentation, setDocumentation, setEventDispatchEnabled, setEventsEnabled, setFacetCheckingEnabled, setFrameFactory, setFrameName, setFrameNamePrefix, setFrameNameValidator, setGenerateDeletingFrameEventsEnabled, setGenerateEventsEnabled, setInverseSlot, setJournalingEnabled, setLoading, setMaximumCardinality, setMaximumValue, setMinimumCardinality, setMinimumValue, setModificationRecordUpdatingEnabled, setName, setNextFrameNumber, setOwnSlotValue, setOwnSlotValues, setPollForEvents, setTemplateFacetValue, setTemplateFacetValues, setTemplateSlotAllowedClses, setTemplateSlotAllowedParents, setTemplateSlotAllowedValues, setTemplateSlotAllowsMultipleValues, setTemplateSlotDefaultValues, setTemplateSlotDocumentation, setTemplateSlotDocumentation, setTemplateSlotMaximumCardinality, setTemplateSlotMaximumValue, setTemplateSlotMinimumCardinality, setTemplateSlotMinimumValue, setTemplateSlotValue, setTemplateSlotValues, setTemplateSlotValueType, setTerminalFrameStore, setUndoEnabled, setValueChecking, setValues, setValueType, setVersionString, startJournaling, stopJournaling, toString, toString, toString, toStringForFrame, toStringForObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.model.OWLModel
getDispatchEventsEnabled, getGenerateEventsEnabled, getHeadFrameStore, setDispatchEventsEnabled, setGenerateEventsEnabled
 
Methods inherited from interface edu.stanford.smi.protegex.owl.model.ProtegeKnowledgeBase
addClsListener, addClsListener, addDirectSuperclass, addDirectSuperslot, addDirectTemplateSlot, addDirectType, addFacetListener, addFacetListener, addFrameListener, addFrameListener, addInstance, addInstanceListener, addInstanceListener, addKnowledgeBaseListener, addOwnSlotValue, addSlotListener, addSlotListener, addTemplateFacetValue, addTemplateSlotValue, areValidOwnSlotValues, clearAllListeners, containsFrame, createCls, createCls, createCls, createFacet, createFacet, createFacet, createInstance, createInstance, createInstance, createSimpleInstance, createSlot, createSlot, createSlot, createSlot, deleteFacet, deleteFrame, deleteInstance, deleteSlot, getAllowedClses, getAllowedParents, getAllowedValues, getAllowsMultipleValues, getAssociatedFacet, getAssociatedSlot, getCls, getClsCount, getClses, getClsNameMatches, getCommandManager, getCurrentUsers, getDefaultClsMetaCls, getDefaultFacetMetaCls, getDefaultSlotMetaCls, getDefaultValues, getDirectBrowserSlotPattern, getDirectDomain, getDirectInstanceCount, getDirectInstances, getDirectlyOverriddenTemplateFacets, getDirectlyOverriddenTemplateSlots, getDirectOwnSlotValue, getDirectOwnSlotValues, getDirectOwnSlotValuesClosure, getDirectSubclassCount, getDirectSubclasses, getDirectSubslotCount, getDirectSubslots, getDirectSuperclassCount, getDirectSuperclasses, getDirectSuperslotCount, getDirectSuperslots, getDirectTemplateFacetValues, getDirectTemplateSlots, getDirectTemplateSlotValues, getDirectType, getDirectTypes, getDocumentation, getDomain, getFacet, getFacetCount, getFacets, getFrame, getFrame, getFrameCount, getFrameCounts, getFrameCreationTimestamp, getFrameCreator, getFrameFactory, getFrameLastModificationTimestamp, getFrameLastModifier, getFrameNameMatches, getFrameNamePrefix, getFrames, getFrameStores, getFramesWithValue, getInstance, getInstanceCount, getInstances, getInstances, getInvalidFrameNameDescription, getInvalidOwnSlotValuesText, getInvalidOwnSlotValueText, getInverseSlot, getMatchingFrames, getMatchingReferences, getMaximumCardinality, getMaximumValue, getMinimumCardinality, getMinimumValue, getName, getName, getNameSlot, getNextFrameNumber, getOverriddenTemplateFacets, getOwnSlotAllowsMultipleValues, getOwnSlotAndSubslotValues, getOwnSlotDefaultValues, getOwnSlotFacets, getOwnSlotFacetValues, getOwnSlots, getOwnSlotValue, getOwnSlotValueCount, getOwnSlotValues, getOwnSlotValueType, getProject, getReachableSimpleInstances, getReferences, getRootClses, getRootClsMetaCls, getRootFacetMetaCls, getRootSlots, getSimpleInstanceCount, getSlot, getSlotCount, getSlots, getSlotValueLastModificationTimestamp, getSlotValueLastModifier, getSubclasses, getSubslots, getSuperclasses, getSuperslots, getSystemFrames, getTemplateFacets, getTemplateFacetValue, getTemplateFacetValues, getTemplateSlotAllowedClses, getTemplateSlotAllowedParents, getTemplateSlotAllowedValues, getTemplateSlotAllowsMultipleValues, getTemplateSlotDefaultValues, getTemplateSlotDocumentation, getTemplateSlotMaximumCardinality, getTemplateSlotMaximumValue, getTemplateSlotMinimumCardinality, getTemplateSlotMinimumValue, getTemplateSlots, getTemplateSlotValue, getTemplateSlotValues, getTemplateSlotValueType, getUnreachableSimpleInstances, getUserName, getValueChecking, getValues, getValueType, getVersionString, hasDirectlyOverriddenTemplateFacet, hasDirectlyOverriddenTemplateSlot, hasDirectSuperclass, hasDirectSuperslot, hasDirectTemplateSlot, hasDirectType, hasInheritedTemplateSlot, hasOverriddenTemplateFacet, hasOverriddenTemplateSlot, hasOwnSlot, hasSlotValueAtSomeFrame, hasSuperclass, hasSuperslot, hasTemplateSlot, hasType, insertFrameStore, insertFrameStore, isAbstract, isAutoUpdatingFacetValues, isCallCachingEnabled, isClsMetaCls, isDefaultClsMetaCls, isDefaultFacetMetaCls, isDefaultSlotMetaCls, isFacetMetaCls, isJournalingEnabled, isLoading, isMetaCls, isValidFrameName, isValidOwnSlotValue, moveDirectSubclass, moveDirectSubslot, moveDirectTemplateSlot, notifyVisibilityChanged, removeClsListener, removeClsListener, removeDirectSuperclass, removeDirectSuperslot, removeDirectTemplateSlot, removeDirectType, removeFacetListener, removeFacetListener, removeFrameListener, removeFrameListener, removeFrameStore, removeInstanceListener, removeInstanceListener, removeJavaLoadPackage, removeKnowledgeBaseListener, removeOwnSlotValue, removeSlotListener, removeSlotListener, removeTemplateFacetOverrides, setAbstract, setAllowedClses, setAllowedParents, setAllowedValues, setAllowsMultipleValues, setArgumentCheckingEnabled, setAssociatedFacet, setAssociatedSlot, setAutoUpdateFacetValues, setBuildString, setCallCachingEnabled, setChanged, setChangeMonitorEnabled, setCleanDispatchEnabled, setDefaultClsMetaCls, setDefaultFacetMetaCls, setDefaultSlotMetaCls, setDefaultValues, setDirectBrowserSlot, setDirectBrowserSlotPattern, setDirectTypeOfSubclasses, setDirectTypeOfSubslots, setDirectTypes, setDocumentation, setDocumentation, setFacetCheckingEnabled, setFrameFactory, setFrameName, setFrameNamePrefix, setFrameNameValidator, setGenerateDeletingFrameEventsEnabled, setInverseSlot, setJournalingEnabled, setMaximumCardinality, setMaximumValue, setMinimumCardinality, setMinimumValue, setName, setNextFrameNumber, setOwnSlotValues, setPollForEvents, setTemplateFacetValue, setTemplateFacetValues, setTemplateSlotAllowedClses, setTemplateSlotAllowedParents, setTemplateSlotAllowedValues, setTemplateSlotAllowsMultipleValues, setTemplateSlotDefaultValues, setTemplateSlotDocumentation, setTemplateSlotDocumentation, setTemplateSlotMaximumCardinality, setTemplateSlotMaximumValue, setTemplateSlotMinimumCardinality, setTemplateSlotMinimumValue, setTemplateSlotValue, setTemplateSlotValues, setTemplateSlotValueType, setUndoEnabled, setValueChecking, setValues, setValueType, setVersionString, startJournaling, stopJournaling
 
Methods inherited from interface edu.stanford.smi.protege.model.KnowledgeBase
addJavaLoadPackage, addTransactionListener, beginTransaction, beginTransaction, changeFrameName, commitTransaction, createInstance, createUniqueFrameName, endTransaction, executeQuery, flushCache, getBuildString, getClientInformation, getClsesWithMatchingBrowserText, getEventsEnabled, getKnowledgeBaseFactory, getReifedRelationFromSlot, getReifedRelationToSlot, getReifiedRelationCls, getSimpleInstance, hasChanged, isClosed, moveDirectOwnSlotValue, moveDirectType, removeTransactionListener, rollbackTransaction, setClientInformation, setEventsEnabled, setModificationRecordUpdatingEnabled
 

Constructor Detail

OWLDatabaseModel

public OWLDatabaseModel(edu.stanford.smi.protege.model.KnowledgeBaseFactory factory)
Method Detail

initializeClient

public void initializeClient()
Initializes the OWLDatabaseModel in the case that it is a client of a remote server.

This is a little delicate because there is no database and no NarrowFrameStores. Many of the assumptions of the OWLDatabaseModel class are invalid.


initialize

public void initialize()

getDefaultOWLOntology

public OWLOntology getDefaultOWLOntology()
Specified by:
getDefaultOWLOntology in interface OWLModel
Overrides:
getDefaultOWLOntology in class AbstractOWLModel

getOntModel

public com.hp.hpl.jena.ontology.OntModel getOntModel()
Description copied from interface: OntModelProvider
Gets an OntModel which represents the current state.

Specified by:
getOntModel in interface OntModelProvider
Returns:
an OntModel

getOWLDLOntModel

public com.hp.hpl.jena.ontology.OntModel getOWLDLOntModel()
Description copied from interface: OntModelProvider
Gets or prepares an OntModel which is guaranteed to be in OWL DL, for classification and other reasoning tasks.

Specified by:
getOWLDLOntModel in interface OntModelProvider
Returns:
null if the OntModel cannot be reduced to OWL DL

getOWLSpecies

public int getOWLSpecies()
Description copied from interface: OntModelProvider
Gets the OWL Species of the current main OntModel.

Specified by:
getOWLSpecies in interface OntModelProvider
Returns:
one of the three OWL_xxx constants

getReasonerOntModel

public com.hp.hpl.jena.ontology.OntModel getReasonerOntModel(String classifierURL)
Description copied from interface: OntModelProvider
Gets an OntModel that is connected to a (DIG) reasoner.

Specified by:
getReasonerOntModel in interface OntModelProvider
Parameters:
classifierURL - the URL of the classifier (usually defined in the preferences)
Returns:
An OntModel that contains the classification result

getNextAnonymousResourceName

public String getNextAnonymousResourceName()
Description copied from interface: OWLModel
Gets the next name that can be used to create an "anonymous" instance. Anonymous resources don't exist in Protege, so we need to use naming conventions to mark those anonymous instances, which will then be converted back to real anonymous nodes in the OWL file (e.g. by the JenaCreator).

Specified by:
getNextAnonymousResourceName in interface OWLModel
Overrides:
getNextAnonymousResourceName in class AbstractOWLModel
Returns:
a suitable name for an "anonymous" resource

getTripleStoreModel

public TripleStoreModel getTripleStoreModel()
Specified by:
getTripleStoreModel in interface OWLModel

setTripleStoreModel

public void setTripleStoreModel(TripleStoreModel tripleStoreModel)

initCustomFrameStores

public void initCustomFrameStores()

initDefaultNamespaces

public void initDefaultNamespaces()

initOWLFrameFactoryInvocationHandler

public void initOWLFrameFactoryInvocationHandler()
Specified by:
initOWLFrameFactoryInvocationHandler in class AbstractOWLModel

resetTripleStoreModel

public void resetTripleStoreModel()

setProject

public void setProject(edu.stanford.smi.protege.model.Project project)
Specified by:
setProject in interface edu.stanford.smi.protege.model.KnowledgeBase
Specified by:
setProject in interface ProtegeKnowledgeBase
Overrides:
setProject in class AbstractOWLModel

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.