Protege 2.1.1

edu.stanford.smi.protege.model.framestore
Class ModificationFrameStore

java.lang.Object
  extended byedu.stanford.smi.protege.model.framestore.AbstractFrameStore
      extended byedu.stanford.smi.protege.model.framestore.ModificationFrameStore
All Implemented Interfaces:
FrameStore
Direct Known Subclasses:
EventDispatchFrameStore, EventGeneratorFrameStore, ModificationRecordFrameStore, TransactionFrameStore, UndoFrameStore

public abstract class ModificationFrameStore
extends AbstractFrameStore


Field Summary
 
Fields inherited from interface edu.stanford.smi.protege.model.framestore.FrameStore
UNLIMITED_MATCHES
 
Constructor Summary
ModificationFrameStore()
           
 
Method Summary
 Set executeQuery(Query query)
           
 int getClsCount()
           
 Set getClses()
           
 Set getClsesWithAnyDirectTemplateSlotValue(Slot slot)
           
 Set getClsesWithDirectTemplateFacetValue(Slot slot, Facet facet, Object value)
           
 Set getClsesWithDirectTemplateSlotValue(Slot slot, Object value)
           
 Set getClsesWithMatchingDirectTemplateFacetValue(Slot slot, Facet facet, String value, int maxMatches)
           
 Set getClsesWithMatchingDirectTemplateSlotValue(Slot slot, String value, int maxMatches)
           
 List getDirectDomain(Slot slot)
           
 List getDirectInstances(Cls cls)
           
 Set getDirectlyOverriddenTemplateFacets(Cls cls, Slot slot)
           
 Set getDirectlyOverriddenTemplateSlots(Cls cls)
           
 List getDirectOwnSlotValues(Frame frame, Slot slot)
           
 Set getDirectOwnSlotValuesClosure(Frame frame, Slot slot)
           
 int getDirectOwnSlotValuesCount(Frame frame, Slot slot)
           
 List getDirectSubclasses(Cls cls)
           
 List getDirectSubslots(Slot slot)
           
 List getDirectSuperclasses(Cls cls)
           
 List getDirectSuperslots(Slot slot)
           
 List getDirectTemplateFacetValues(Cls cls, Slot slot, Facet facet)
           
 List getDirectTemplateSlots(Cls cls)
           
 List getDirectTemplateSlotValues(Cls cls, Slot slot)
           
 List getDirectTypes(Instance instance)
           
 Set getDomain(Slot slot)
           
 List getEvents()
           
 int getFacetCount()
           
 Set getFacets()
           
 Frame getFrame(FrameID id)
           
 Frame getFrame(String name)
           
 int getFrameCount()
           
 String getFrameName(Frame frame)
           
 Set getFrames()
           
 Set getFramesWithAnyDirectOwnSlotValue(Slot slot)
           
 Set getFramesWithDirectOwnSlotValue(Slot slot, Object value)
           
 Set getFramesWithMatchingDirectOwnSlotValue(Slot slot, String value, int maxMatches)
           
 Set getInstances(Cls cls)
           
 Set getMatchingReferences(String value, int maxMatches)
           
 Set getOverriddenTemplateFacets(Cls cls, Slot slot)
           
 Set getOverriddenTemplateSlots(Cls cls)
           
 Set getOwnFacets(Frame frame, Slot slot)
           
 Collection getOwnFacetValues(Frame frame, Slot slot, Facet facet)
           
 Set getOwnSlots(Frame frame)
           
 Collection getOwnSlotValues(Frame frame, Slot slot)
           
 Set getReferences(Object value)
           
 int getSimpleInstanceCount()
           
 int getSlotCount()
           
 Set getSlots()
           
 Set getSubclasses(Cls cls)
           
 Set getSubslots(Slot slot)
           
 Set getSuperclasses(Cls cls)
           
 Set getSuperslots(Slot slot)
           
 Set getTemplateFacets(Cls cls, Slot slot)
           
 Collection getTemplateFacetValues(Cls cls, Slot slot, Facet facet)
           
 Set getTemplateSlots(Cls cls)
           
 Collection getTemplateSlotValues(Cls cls, Slot slot)
           
 Set getTypes(Instance instance)
           
 
Methods inherited from class edu.stanford.smi.protege.model.framestore.AbstractFrameStore
close, getDelegate, onSetDelegate, setDelegate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protege.model.framestore.FrameStore
addDirectSuperclass, addDirectSuperslot, addDirectTemplateSlot, addDirectType, beginTransaction, commitTransaction, createCls, createFacet, createSimpleInstance, createSlot, deleteCls, deleteFacet, deleteSimpleInstance, deleteSlot, moveDirectSubclass, moveDirectSubslot, moveDirectTemplateSlot, reinitialize, removeDirectSuperclass, removeDirectSuperslot, removeDirectTemplateFacetOverrides, removeDirectTemplateSlot, removeDirectType, rollbackTransaction, setDirectOwnSlotValues, setDirectTemplateFacetValues, setDirectTemplateSlotValues, setFrameName
 

Constructor Detail

ModificationFrameStore

public ModificationFrameStore()
Method Detail

getFrame

public Frame getFrame(FrameID id)

getFrame

public Frame getFrame(String name)

getFrameName

public String getFrameName(Frame frame)

getFrameCount

public int getFrameCount()

getClsCount

public int getClsCount()

getSlotCount

public int getSlotCount()

getFacetCount

public int getFacetCount()

getSimpleInstanceCount

public int getSimpleInstanceCount()

getFrames

public Set getFrames()

getClses

public Set getClses()

getSlots

public Set getSlots()

getFacets

public Set getFacets()

getDirectSuperclasses

public List getDirectSuperclasses(Cls cls)

getSuperclasses

public Set getSuperclasses(Cls cls)

getDirectSubclasses

public List getDirectSubclasses(Cls cls)

getSubclasses

public Set getSubclasses(Cls cls)

getDirectSuperslots

public List getDirectSuperslots(Slot slot)

getSuperslots

public Set getSuperslots(Slot slot)

getDirectSubslots

public List getDirectSubslots(Slot slot)

getSubslots

public Set getSubslots(Slot slot)

getDirectTypes

public List getDirectTypes(Instance instance)

getDirectInstances

public List getDirectInstances(Cls cls)

getDirectTemplateSlots

public List getDirectTemplateSlots(Cls cls)

getDirectDomain

public List getDirectDomain(Slot slot)

getDomain

public Set getDomain(Slot slot)

getInstances

public Set getInstances(Cls cls)

getTypes

public Set getTypes(Instance instance)

getOwnSlotValues

public Collection getOwnSlotValues(Frame frame,
                                   Slot slot)

getDirectOwnSlotValuesCount

public int getDirectOwnSlotValuesCount(Frame frame,
                                       Slot slot)

getDirectOwnSlotValues

public List getDirectOwnSlotValues(Frame frame,
                                   Slot slot)

getOwnSlots

public Set getOwnSlots(Frame frame)

getTemplateSlotValues

public Collection getTemplateSlotValues(Cls cls,
                                        Slot slot)

getDirectTemplateSlotValues

public List getDirectTemplateSlotValues(Cls cls,
                                        Slot slot)

getTemplateSlots

public Set getTemplateSlots(Cls cls)

getTemplateFacets

public Set getTemplateFacets(Cls cls,
                             Slot slot)

getTemplateFacetValues

public Collection getTemplateFacetValues(Cls cls,
                                         Slot slot,
                                         Facet facet)

getDirectTemplateFacetValues

public List getDirectTemplateFacetValues(Cls cls,
                                         Slot slot,
                                         Facet facet)

getReferences

public Set getReferences(Object value)

getMatchingReferences

public Set getMatchingReferences(String value,
                                 int maxMatches)

getEvents

public List getEvents()

executeQuery

public Set executeQuery(Query query)

getFramesWithDirectOwnSlotValue

public Set getFramesWithDirectOwnSlotValue(Slot slot,
                                           Object value)

getFramesWithAnyDirectOwnSlotValue

public Set getFramesWithAnyDirectOwnSlotValue(Slot slot)

getFramesWithMatchingDirectOwnSlotValue

public Set getFramesWithMatchingDirectOwnSlotValue(Slot slot,
                                                   String value,
                                                   int maxMatches)

getClsesWithDirectTemplateSlotValue

public Set getClsesWithDirectTemplateSlotValue(Slot slot,
                                               Object value)

getClsesWithAnyDirectTemplateSlotValue

public Set getClsesWithAnyDirectTemplateSlotValue(Slot slot)

getClsesWithMatchingDirectTemplateSlotValue

public Set getClsesWithMatchingDirectTemplateSlotValue(Slot slot,
                                                       String value,
                                                       int maxMatches)

getClsesWithDirectTemplateFacetValue

public Set getClsesWithDirectTemplateFacetValue(Slot slot,
                                                Facet facet,
                                                Object value)

getClsesWithMatchingDirectTemplateFacetValue

public Set getClsesWithMatchingDirectTemplateFacetValue(Slot slot,
                                                        Facet facet,
                                                        String value,
                                                        int maxMatches)

getOwnFacets

public Set getOwnFacets(Frame frame,
                        Slot slot)

getOwnFacetValues

public Collection getOwnFacetValues(Frame frame,
                                    Slot slot,
                                    Facet facet)

getOverriddenTemplateSlots

public Set getOverriddenTemplateSlots(Cls cls)

getDirectlyOverriddenTemplateSlots

public Set getDirectlyOverriddenTemplateSlots(Cls cls)

getOverriddenTemplateFacets

public Set getOverriddenTemplateFacets(Cls cls,
                                       Slot slot)

getDirectlyOverriddenTemplateFacets

public Set getDirectlyOverriddenTemplateFacets(Cls cls,
                                               Slot slot)

getDirectOwnSlotValuesClosure

public Set getDirectOwnSlotValuesClosure(Frame frame,
                                         Slot slot)

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.