edu.stanford.smi.protegex.owl.model.framestore
Interface RestrictionUpdater

All Known Implementing Classes:
AbstractRestrictionUpdater

public interface RestrictionUpdater

An object capable of mapping restrictions into facet overrides, and vice versa. The goal of these classes is to ensure a maximum of compatibility to existing Protege components, such as the template slots widget, that allows to edit facet overrides on a per class basis. Furthermore, this class makes sure that legacy Protege ontologies can be converted into OWL (so that restrictions are created for facet overrides) and that OWL files can be saved in other formats as well (because restrictions are mirrored in restrictions that are not exported in most formats).
Depending on the type of event, this class does the following:

Author:
Holger Knublauch

Method Summary
 void copyFacetValuesIntoNamedClass(RDFSNamedClass cls, OWLRestriction restriction)
           
 void updateRestrictions(OWLNamedClass cls, RDFProperty property, edu.stanford.smi.protege.model.Facet facet)
           
 

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)