|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protege.model.framestore.AbstractFrameStore
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
edu.stanford.smi.protegex.owl.model.framestore.OWLFrameStore
public class OWLFrameStore
A FrameStore with specific support for OWL ontologies. While most calls simply forward to their default implementation, some calls are intercepted to do some extra work:
Field Summary | |
---|---|
static boolean |
allowDuplicateOwnSlotValues
|
static boolean |
autoDeleteOfAnonymousClses
An ugly trick to prevent anonymous classes from being deleted as a side effect |
protected boolean |
facetHandlingBlocked
A flag to prevent infinite recursion when a superclass has been added or removed |
static String |
IGNORE_PREFIXES_IN_SEARCH
|
protected boolean |
superclassHandlingBlocked
A flag to prevent infinite recursion when a facet override has been changed. |
boolean |
suppressUpdateRDFSDomain
|
Fields inherited from interface edu.stanford.smi.protege.model.framestore.FrameStore |
---|
UNLIMITED_MATCHES |
Constructor Summary | |
---|---|
OWLFrameStore(AbstractOWLModel owlModel)
|
Method Summary | |
---|---|
void |
addDirectSuperclass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Cls superCls)
|
void |
addDirectSuperslot(edu.stanford.smi.protege.model.Slot slot,
edu.stanford.smi.protege.model.Slot superSlot)
|
void |
addDirectTemplateSlot(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
void |
addDirectType(edu.stanford.smi.protege.model.Instance instance,
edu.stanford.smi.protege.model.Cls type)
|
void |
copyFacetValuesIntoNamedClses()
|
edu.stanford.smi.protege.model.Cls |
createCls(edu.stanford.smi.protege.model.FrameID id,
String name,
Collection directTypes,
Collection directSuperclasses,
boolean loadDefaults)
|
edu.stanford.smi.protege.model.SimpleInstance |
createSimpleInstance(edu.stanford.smi.protege.model.FrameID id,
String name,
Collection directTypes,
boolean loadDefaults)
|
edu.stanford.smi.protege.model.Slot |
createSlot(edu.stanford.smi.protege.model.FrameID id,
String name,
Collection directTypes,
Collection directSuperslots,
boolean loadDefaults)
|
void |
deleteCls(edu.stanford.smi.protege.model.Cls cls)
|
void |
deleteQuantifierRestrictions(OWLProperty property)
Deletes all QuantifierRestrictions (and the expressions where they are used) which restrict a given propertyerty. |
void |
deleteSimpleInstance(edu.stanford.smi.protege.model.SimpleInstance simpleInstance)
|
void |
deleteSlot(edu.stanford.smi.protege.model.Slot slot)
Deletes the depending classes (anonymous domains and ranges) of the slot being deleted. |
Collection |
getClsesToDelete(edu.stanford.smi.protege.model.Cls cls)
A slighly adjusted version of DeleteSimplificationFrameStore that ignores links through the anonymous root class. |
Set |
getClsesWithMatchingBrowserText(String value,
Collection superclasses,
int maxMatches)
|
Set |
getFramesWithMatchingDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot,
String value,
int maxMatches)
|
List |
getLiteralValues(List values)
Deprecated. This method was moved into AbstractOWLModel |
Set |
getMatchingReferences(String value,
int maxMatches)
|
static boolean |
isIgnorePrefixesInSearch(OWLModel owlModel)
|
void |
removeDirectSuperclass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Cls superCls)
|
void |
removeDirectSuperslot(edu.stanford.smi.protege.model.Slot slot,
edu.stanford.smi.protege.model.Slot superslot)
|
void |
removeDirectTemplateSlot(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
void |
removeDirectType(edu.stanford.smi.protege.model.Instance instance,
edu.stanford.smi.protege.model.Cls directType)
|
void |
setDirectOwnSlotValues(edu.stanford.smi.protege.model.Frame frame,
edu.stanford.smi.protege.model.Slot slot,
Collection values)
|
void |
setDirectTemplateFacetValues(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
edu.stanford.smi.protege.model.Facet facet,
Collection values)
|
void |
setDirectTemplateSlotValues(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
Collection values)
|
void |
setSuperclassSynchronizationBlocked(boolean value)
|
Methods inherited from class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter |
---|
beginTransaction, commitTransaction, createFacet, deleteFacet, executeQuery, getClsCount, getClses, getClsesWithAnyDirectTemplateSlotValue, getClsesWithDirectTemplateFacetValue, getClsesWithDirectTemplateSlotValue, getClsesWithMatchingDirectTemplateFacetValue, getClsesWithMatchingDirectTemplateSlotValue, getDirectDomain, getDirectInstances, getDirectlyOverriddenTemplateFacets, getDirectlyOverriddenTemplateSlots, getDirectOwnSlotValues, getDirectOwnSlotValuesClosure, getDirectOwnSlotValuesCount, getDirectSubclasses, getDirectSubslots, getDirectSuperclasses, getDirectSuperslots, getDirectTemplateFacetValues, getDirectTemplateSlots, getDirectTemplateSlotValues, getDirectTypes, getDomain, getEvents, getFacetCount, getFacets, getFrame, getFrame, getFrameCount, getFrameName, getFrames, getFramesWithAnyDirectOwnSlotValue, getFramesWithDirectOwnSlotValue, getInstances, getOverriddenTemplateFacets, getOverriddenTemplateSlots, getOwnFacets, getOwnFacetValues, getOwnSlots, getOwnSlotValues, getReferences, getSimpleInstanceCount, getSlotCount, getSlots, getSubclasses, getSubslots, getSuperclasses, getSuperslots, getTemplateFacets, getTemplateFacetValues, getTemplateSlots, getTemplateSlotValues, getTransactionStatusMonitor, getTypes, moveDirectOwnSlotValue, moveDirectSubclass, moveDirectSubslot, moveDirectTemplateSlot, moveDirectType, reinitialize, removeDirectTemplateFacetOverrides, rollbackTransaction, setFrameName |
Methods inherited from class edu.stanford.smi.protege.model.framestore.AbstractFrameStore |
---|
close, getDelegate, getName, onSetDelegate, setDelegate, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean facetHandlingBlocked
protected boolean superclassHandlingBlocked
public static final String IGNORE_PREFIXES_IN_SEARCH
public static boolean autoDeleteOfAnonymousClses
public static boolean allowDuplicateOwnSlotValues
public boolean suppressUpdateRDFSDomain
Constructor Detail |
---|
public OWLFrameStore(AbstractOWLModel owlModel)
Method Detail |
---|
public void addDirectSuperclass(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Cls superCls)
addDirectSuperclass
in interface edu.stanford.smi.protege.model.framestore.FrameStore
addDirectSuperclass
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void addDirectSuperslot(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Slot superSlot)
addDirectSuperslot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
addDirectSuperslot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void addDirectType(edu.stanford.smi.protege.model.Instance instance, edu.stanford.smi.protege.model.Cls type)
addDirectType
in interface edu.stanford.smi.protege.model.framestore.FrameStore
addDirectType
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void copyFacetValuesIntoNamedClses()
public edu.stanford.smi.protege.model.Cls createCls(edu.stanford.smi.protege.model.FrameID id, String name, Collection directTypes, Collection directSuperclasses, boolean loadDefaults)
createCls
in interface edu.stanford.smi.protege.model.framestore.FrameStore
createCls
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public edu.stanford.smi.protege.model.Slot createSlot(edu.stanford.smi.protege.model.FrameID id, String name, Collection directTypes, Collection directSuperslots, boolean loadDefaults)
createSlot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
createSlot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public edu.stanford.smi.protege.model.SimpleInstance createSimpleInstance(edu.stanford.smi.protege.model.FrameID id, String name, Collection directTypes, boolean loadDefaults)
createSimpleInstance
in interface edu.stanford.smi.protege.model.framestore.FrameStore
createSimpleInstance
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void deleteCls(edu.stanford.smi.protege.model.Cls cls)
deleteCls
in interface edu.stanford.smi.protege.model.framestore.FrameStore
deleteCls
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void deleteQuantifierRestrictions(OWLProperty property)
property
- the restricted propertypublic void deleteSimpleInstance(edu.stanford.smi.protege.model.SimpleInstance simpleInstance)
deleteSimpleInstance
in interface edu.stanford.smi.protege.model.framestore.FrameStore
deleteSimpleInstance
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void deleteSlot(edu.stanford.smi.protege.model.Slot slot)
deleteSlot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
deleteSlot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
slot
- the Slot being deletedpublic Collection getClsesToDelete(edu.stanford.smi.protege.model.Cls cls)
cls
-
public List getLiteralValues(List values)
public Set getClsesWithMatchingBrowserText(String value, Collection superclasses, int maxMatches)
getClsesWithMatchingBrowserText
in interface edu.stanford.smi.protege.model.framestore.FrameStore
getClsesWithMatchingBrowserText
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public Set getFramesWithMatchingDirectOwnSlotValue(edu.stanford.smi.protege.model.Slot slot, String value, int maxMatches)
getFramesWithMatchingDirectOwnSlotValue
in interface edu.stanford.smi.protege.model.framestore.FrameStore
getFramesWithMatchingDirectOwnSlotValue
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public Set getMatchingReferences(String value, int maxMatches)
getMatchingReferences
in interface edu.stanford.smi.protege.model.framestore.FrameStore
getMatchingReferences
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public static boolean isIgnorePrefixesInSearch(OWLModel owlModel)
public void removeDirectSuperclass(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Cls superCls)
removeDirectSuperclass
in interface edu.stanford.smi.protege.model.framestore.FrameStore
removeDirectSuperclass
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void removeDirectSuperslot(edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Slot superslot)
removeDirectSuperslot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
removeDirectSuperslot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void removeDirectType(edu.stanford.smi.protege.model.Instance instance, edu.stanford.smi.protege.model.Cls directType)
removeDirectType
in interface edu.stanford.smi.protege.model.framestore.FrameStore
removeDirectType
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void setDirectOwnSlotValues(edu.stanford.smi.protege.model.Frame frame, edu.stanford.smi.protege.model.Slot slot, Collection values)
setDirectOwnSlotValues
in interface edu.stanford.smi.protege.model.framestore.FrameStore
setDirectOwnSlotValues
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void setSuperclassSynchronizationBlocked(boolean value)
public void addDirectTemplateSlot(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot)
addDirectTemplateSlot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
addDirectTemplateSlot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void removeDirectTemplateSlot(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot)
removeDirectTemplateSlot
in interface edu.stanford.smi.protege.model.framestore.FrameStore
removeDirectTemplateSlot
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void setDirectTemplateFacetValues(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Facet facet, Collection values)
setDirectTemplateFacetValues
in interface edu.stanford.smi.protege.model.framestore.FrameStore
setDirectTemplateFacetValues
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public void setDirectTemplateSlotValues(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, Collection values)
setDirectTemplateSlotValues
in interface edu.stanford.smi.protege.model.framestore.FrameStore
setDirectTemplateSlotValues
in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |