edu.stanford.smi.protege.server.framestore
Class FrameCalculatorFrameStore
java.lang.Object
edu.stanford.smi.protege.model.framestore.AbstractFrameStore
edu.stanford.smi.protege.model.framestore.FrameStoreAdapter
edu.stanford.smi.protege.server.framestore.FrameCalculatorFrameStore
- All Implemented Interfaces:
- FrameStore
public class FrameCalculatorFrameStore
- extends FrameStoreAdapter
This class informs the frame calculator of items that the client may want cached during
normal knowledge base operations. By making this a frame store we allow for the possiblity
this component can be replaced depending on the application.
Method Summary |
Cls |
createCls(FrameID id,
String name,
Collection directTypes,
Collection directSuperclasses,
boolean loadDefaults)
|
Facet |
createFacet(FrameID id,
String name,
Collection directTypes,
boolean loadDefaults)
|
SimpleInstance |
createSimpleInstance(FrameID id,
String name,
Collection directTypes,
boolean loadDefaults)
|
Slot |
createSlot(FrameID id,
String name,
Collection directTypes,
Collection directSuperslots,
boolean loadDefaults)
|
List |
getDirectOwnSlotValues(Frame frame,
Slot slot)
|
int |
getDirectOwnSlotValuesCount(Frame frame,
Slot slot)
|
List |
getDirectTemplateFacetValues(Cls cls,
Slot slot,
Facet facet)
|
List |
getDirectTemplateSlotValues(Cls cls,
Slot slot)
|
Frame |
getFrame(String name)
|
Methods inherited from class edu.stanford.smi.protege.model.framestore.FrameStoreAdapter |
addDirectSuperclass, addDirectSuperslot, addDirectTemplateSlot, addDirectType, beginTransaction, commitTransaction, deleteCls, deleteFacet, deleteSimpleInstance, deleteSlot, executeQuery, getClsCount, getClses, getClsesWithAnyDirectTemplateSlotValue, getClsesWithDirectTemplateFacetValue, getClsesWithDirectTemplateSlotValue, getClsesWithMatchingBrowserText, getClsesWithMatchingDirectTemplateFacetValue, getClsesWithMatchingDirectTemplateSlotValue, getDirectDomain, getDirectInstances, getDirectlyOverriddenTemplateFacets, getDirectlyOverriddenTemplateSlots, getDirectOwnSlotValuesClosure, getDirectSubclasses, getDirectSubslots, getDirectSuperclasses, getDirectSuperslots, getDirectTemplateSlots, getDirectTypes, getDomain, getEvents, getFacetCount, getFacets, getFrame, getFrameCount, getFrameName, getFrames, getFramesWithAnyDirectOwnSlotValue, getFramesWithDirectOwnSlotValue, getFramesWithMatchingDirectOwnSlotValue, getInstances, getMatchingReferences, 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, removeDirectSuperclass, removeDirectSuperslot, removeDirectTemplateFacetOverrides, removeDirectTemplateSlot, removeDirectType, rollbackTransaction, setDirectOwnSlotValues, setDirectTemplateFacetValues, setDirectTemplateSlotValues, setFrameName |
FrameCalculatorFrameStore
public FrameCalculatorFrameStore(FrameCalculator frameCalculator)
getDirectTemplateSlotValues
public List getDirectTemplateSlotValues(Cls cls,
Slot slot)
- Specified by:
getDirectTemplateSlotValues
in interface FrameStore
- Overrides:
getDirectTemplateSlotValues
in class FrameStoreAdapter
getDirectTemplateFacetValues
public List getDirectTemplateFacetValues(Cls cls,
Slot slot,
Facet facet)
- Specified by:
getDirectTemplateFacetValues
in interface FrameStore
- Overrides:
getDirectTemplateFacetValues
in class FrameStoreAdapter
getFrame
public Frame getFrame(String name)
- Specified by:
getFrame
in interface FrameStore
- Overrides:
getFrame
in class FrameStoreAdapter
getDirectOwnSlotValuesCount
public int getDirectOwnSlotValuesCount(Frame frame,
Slot slot)
- Specified by:
getDirectOwnSlotValuesCount
in interface FrameStore
- Overrides:
getDirectOwnSlotValuesCount
in class FrameStoreAdapter
getDirectOwnSlotValues
public List getDirectOwnSlotValues(Frame frame,
Slot slot)
- Specified by:
getDirectOwnSlotValues
in interface FrameStore
- Overrides:
getDirectOwnSlotValues
in class FrameStoreAdapter
createFacet
public Facet createFacet(FrameID id,
String name,
Collection directTypes,
boolean loadDefaults)
- Specified by:
createFacet
in interface FrameStore
- Overrides:
createFacet
in class FrameStoreAdapter
createSlot
public Slot createSlot(FrameID id,
String name,
Collection directTypes,
Collection directSuperslots,
boolean loadDefaults)
- Specified by:
createSlot
in interface FrameStore
- Overrides:
createSlot
in class FrameStoreAdapter
createCls
public Cls createCls(FrameID id,
String name,
Collection directTypes,
Collection directSuperclasses,
boolean loadDefaults)
- Specified by:
createCls
in interface FrameStore
- Overrides:
createCls
in class FrameStoreAdapter
createSimpleInstance
public SimpleInstance createSimpleInstance(FrameID id,
String name,
Collection directTypes,
boolean loadDefaults)
- Specified by:
createSimpleInstance
in interface FrameStore
- Overrides:
createSimpleInstance
in class FrameStoreAdapter
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.