|
Protégé-OWL 3.4.8 | ||||||||
| 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 |
autoDeleteOfAnonymousClses
An ugly trick to prevent anonymous classes from being deleted as a side effect |
static String |
IGNORE_PREFIXES_IN_SEARCH
|
| Fields inherited from interface edu.stanford.smi.protege.model.framestore.FrameStore |
|---|
UNLIMITED_MATCHES |
| Constructor Summary | |
|---|---|
OWLFrameStore(AbstractOWLModel owlModel)
|
|
| Method Summary | |
|---|---|
edu.stanford.smi.protege.model.Cls |
createCls(edu.stanford.smi.protege.model.FrameID id,
Collection directTypes,
Collection directSuperclasses,
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 |
setDirectOwnSlotValues(edu.stanford.smi.protege.model.Frame frame,
edu.stanford.smi.protege.model.Slot slot,
Collection values)
|
| Methods inherited from class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter |
|---|
addDirectSuperclass, addDirectSuperslot, addDirectTemplateSlot, addDirectType, beginTransaction, beginTransaction, commitTransaction, createFacet, createSimpleInstance, createSlot, 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, removeDirectSuperslot, removeDirectTemplateFacetOverrides, removeDirectTemplateSlot, removeDirectType, replaceFrame, rollbackTransaction, setDirectTemplateFacetValues, setDirectTemplateSlotValues |
| 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 |
|---|
public static final String IGNORE_PREFIXES_IN_SEARCH
public static boolean autoDeleteOfAnonymousClses
| Constructor Detail |
|---|
public OWLFrameStore(AbstractOWLModel owlModel)
| Method Detail |
|---|
public void deleteQuantifierRestrictions(OWLProperty property)
property - the restricted propertypublic Collection getClsesToDelete(edu.stanford.smi.protege.model.Cls cls)
cls -
@Deprecated public List getLiteralValues(List values)
public static boolean isIgnorePrefixesInSearch(OWLModel owlModel)
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.FrameStoresetDirectOwnSlotValues in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public edu.stanford.smi.protege.model.Cls createCls(edu.stanford.smi.protege.model.FrameID id,
Collection directTypes,
Collection directSuperclasses,
boolean loadDefaults)
createCls in interface edu.stanford.smi.protege.model.framestore.FrameStorecreateCls in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapterpublic void deleteCls(edu.stanford.smi.protege.model.Cls cls)
deleteCls in interface edu.stanford.smi.protege.model.framestore.FrameStoredeleteCls in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapterpublic void deleteSlot(edu.stanford.smi.protege.model.Slot slot)
deleteSlot in interface edu.stanford.smi.protege.model.framestore.FrameStoredeleteSlot in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapterslot - the Slot being deletedpublic void deleteSimpleInstance(edu.stanford.smi.protege.model.SimpleInstance simpleInstance)
deleteSimpleInstance in interface edu.stanford.smi.protege.model.framestore.FrameStoredeleteSimpleInstance in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
public Set getClsesWithMatchingBrowserText(String value,
Collection superclasses,
int maxMatches)
getClsesWithMatchingBrowserText in interface edu.stanford.smi.protege.model.framestore.FrameStoregetClsesWithMatchingBrowserText 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.FrameStoregetFramesWithMatchingDirectOwnSlotValue 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.FrameStoregetMatchingReferences in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
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.FrameStoreremoveDirectSuperclass in class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
|
Protégé-OWL 3.4.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||