edu.stanford.smi.protegex.owl.model.framestore
Class AbstractRestrictionUpdater

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.model.framestore.AbstractRestrictionUpdater
All Implemented Interfaces:
RestrictionUpdater
Direct Known Subclasses:
CardinalityRestrictionUpdater, HasValueRestrictionUpdater, QuantifierRestrictionUpdater

abstract class AbstractRestrictionUpdater
extends Object
implements RestrictionUpdater


Field Summary
protected  AbstractOWLModel owlModel
          The OWLModel this operates on
 
Constructor Summary
AbstractRestrictionUpdater(AbstractOWLModel owlModel)
           
 
Method Summary
protected  edu.stanford.smi.protege.model.Cls getDirectRestriction(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, Class metaClass)
           
protected  Collection getDirectRestrictions(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, Class metaClass)
           
protected  void log(String message)
           
protected  void removeRestrictions(edu.stanford.smi.protege.model.Cls cls, edu.stanford.smi.protege.model.Slot slot, edu.stanford.smi.protege.model.Cls metaCls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.owl.model.framestore.RestrictionUpdater
copyFacetValuesIntoNamedClass, updateRestrictions
 

Field Detail

owlModel

protected AbstractOWLModel owlModel
The OWLModel this operates on

Constructor Detail

AbstractRestrictionUpdater

public AbstractRestrictionUpdater(AbstractOWLModel owlModel)
Method Detail

getDirectRestriction

protected edu.stanford.smi.protege.model.Cls getDirectRestriction(edu.stanford.smi.protege.model.Cls cls,
                                                                  edu.stanford.smi.protege.model.Slot slot,
                                                                  Class metaClass)

getDirectRestrictions

protected Collection getDirectRestrictions(edu.stanford.smi.protege.model.Cls cls,
                                           edu.stanford.smi.protege.model.Slot slot,
                                           Class metaClass)

log

protected void log(String message)

removeRestrictions

protected void removeRestrictions(edu.stanford.smi.protege.model.Cls cls,
                                  edu.stanford.smi.protege.model.Slot slot,
                                  edu.stanford.smi.protege.model.Cls metaCls)