Protege-2000 1.7

edu.stanford.smi.protegex.storage.walker.protege
Class ProtegeFrameCreator

java.lang.Object
  |
  +--edu.stanford.smi.protegex.storage.walker.protege.ProtegeFrameCreator
All Implemented Interfaces:
FrameCreator
Direct Known Subclasses:
OilProtegeFrameCreator

public class ProtegeFrameCreator
extends Object
implements FrameCreator


Field Summary
 edu.stanford.smi.protege.model.KnowledgeBase _kb
           
 
Constructor Summary
ProtegeFrameCreator(edu.stanford.smi.protege.model.KnowledgeBase kb, Namespaces namespaces, boolean included, Collection errors)
           
 
Method Summary
 void addOwnSlotValues(WalkerFrame instanceFrame, WalkerFrame slotFrame, Collection values)
           
 void attachSlot(WalkerFrame clsFrame, WalkerFrame slotFrame, boolean direct, WalkerSlotRestriction overriddenSlotRestriciton, String overriddenDocumentation)
           
 void createCls(WalkerFrame clsFrame, Collection superclasses, WalkerFrame typeFrame, boolean abstrct, String documentation)
           
 void createInstance(WalkerFrame instFrame, WalkerFrame typeFrame, String documentation)
           
 void createSlot(WalkerFrame slotFrame, WalkerFrame typeFrame, Collection superslots, WalkerFrame inverseSlot, WalkerFrame associatedFacet, WalkerSlotRestriction slotRestriction, String documentation)
           
 void error(String message)
           
 void finish()
           
 edu.stanford.smi.protege.model.Cls getStandardClass()
           
 edu.stanford.smi.protege.model.Cls getStandardFacet()
           
 edu.stanford.smi.protege.model.Cls getStandardSlot()
           
 edu.stanford.smi.protege.model.Cls getThing()
           
 edu.stanford.smi.protege.model.Cls getUndefinedClass()
           
 boolean singleAllowedClass()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_kb

public edu.stanford.smi.protege.model.KnowledgeBase _kb
Constructor Detail

ProtegeFrameCreator

public ProtegeFrameCreator(edu.stanford.smi.protege.model.KnowledgeBase kb,
                           Namespaces namespaces,
                           boolean included,
                           Collection errors)
Method Detail

start

public void start()
Specified by:
start in interface FrameCreator

createCls

public void createCls(WalkerFrame clsFrame,
                      Collection superclasses,
                      WalkerFrame typeFrame,
                      boolean abstrct,
                      String documentation)
Specified by:
createCls in interface FrameCreator

singleAllowedClass

public boolean singleAllowedClass()
Specified by:
singleAllowedClass in interface FrameCreator

createInstance

public void createInstance(WalkerFrame instFrame,
                           WalkerFrame typeFrame,
                           String documentation)
Specified by:
createInstance in interface FrameCreator

createSlot

public void createSlot(WalkerFrame slotFrame,
                       WalkerFrame typeFrame,
                       Collection superslots,
                       WalkerFrame inverseSlot,
                       WalkerFrame associatedFacet,
                       WalkerSlotRestriction slotRestriction,
                       String documentation)
Specified by:
createSlot in interface FrameCreator

attachSlot

public void attachSlot(WalkerFrame clsFrame,
                       WalkerFrame slotFrame,
                       boolean direct,
                       WalkerSlotRestriction overriddenSlotRestriciton,
                       String overriddenDocumentation)
Specified by:
attachSlot in interface FrameCreator

addOwnSlotValues

public void addOwnSlotValues(WalkerFrame instanceFrame,
                             WalkerFrame slotFrame,
                             Collection values)
Specified by:
addOwnSlotValues in interface FrameCreator

finish

public void finish()
Specified by:
finish in interface FrameCreator

getThing

public edu.stanford.smi.protege.model.Cls getThing()

getStandardClass

public edu.stanford.smi.protege.model.Cls getStandardClass()

getStandardSlot

public edu.stanford.smi.protege.model.Cls getStandardSlot()

getStandardFacet

public edu.stanford.smi.protege.model.Cls getStandardFacet()

getUndefinedClass

public edu.stanford.smi.protege.model.Cls getUndefinedClass()

error

public void error(String message)
Specified by:
error in interface FrameCreator

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.