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

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.model.framestore.AbstractRestrictionUpdater
      extended byedu.stanford.smi.protegex.owl.model.framestore.HasValueRestrictionUpdater
All Implemented Interfaces:
RestrictionUpdater

class HasValueRestrictionUpdater
extends AbstractRestrictionUpdater


Field Summary
protected  AbstractOWLModel owlModel
          The OWLModel this operates on
private  edu.stanford.smi.protege.model.Facet valuesFacet
           
 
Constructor Summary
(package private) HasValueRestrictionUpdater(AbstractOWLModel owlModel)
           
 
Method Summary
 void copyFacetValuesIntoNamedClass(RDFSNamedClass cls, OWLRestriction restriction)
           
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)
           
 void updateRestrictions(OWLNamedClass cls, RDFProperty property, edu.stanford.smi.protege.model.Facet facet)
           
(package private)  void updateValuesFacet(RDFSNamedClass cls, edu.stanford.smi.protege.model.Slot slot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valuesFacet

private edu.stanford.smi.protege.model.Facet valuesFacet

owlModel

protected AbstractOWLModel owlModel
The OWLModel this operates on

Constructor Detail

HasValueRestrictionUpdater

HasValueRestrictionUpdater(AbstractOWLModel owlModel)
Method Detail

copyFacetValuesIntoNamedClass

public void copyFacetValuesIntoNamedClass(RDFSNamedClass cls,
                                          OWLRestriction restriction)

updateRestrictions

public void updateRestrictions(OWLNamedClass cls,
                               RDFProperty property,
                               edu.stanford.smi.protege.model.Facet facet)

updateValuesFacet

void updateValuesFacet(RDFSNamedClass cls,
                       edu.stanford.smi.protege.model.Slot slot)

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)