Adapting OCL Constraints After a Refactoring of their Model Using an MDE Process
Résumé
Refactoring is a kind of endogenous model transformation. Its aim is to restructure applications without changing their external behavior. Several studies have been carried out on the refactoring of UML models specifically on the refactoring of UML class diagram models. During refactoring, the OCL constraints associated with these UML class diagram models are omitted or manually rewritten, which often leads the system to an inconsistent state. We propose an approach to transform, as automatically as possible, these OCL constraints using the transformation model. This approach uses the used transformation model to find a sequence of basic refactoring operations that once applied to the initial model leads to the final model. Thus, we can use an already known results for OCL constraint transformations in case of stepwise model refactoring.
Domaines
Génie logiciel [cs.SE]Origine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...