skip to main content
10.1145/2428516.2428518acmconferencesArticle/Chapter ViewAbstractPublication PagesmodelsConference Proceedingsconference-collections
research-article

Tool supported OCL refactoring catalogue

Authors Info & Claims
Published:30 September 2012Publication History

ABSTRACT

The Object Constraint Language (OCL) as the primary constraint language in model-driven software development is heavily used to specify static semantics of arbitrary languages and models. Models and constraints are therefore interconnected and depend on each other. On the one hand, daily work with models enjoys a good tool support, whereas, on the other hand, mature OCL tools are not widely spread but a niche. Unfortunately, during their life-time, the complexity of models rises and so do their OCL constraints. Thus, the gap between conventional modelling and OCL tools becomes obvious. This fact demands for OCL tool support to cope with the complexity. To bridge this gap, refactoring is well-suited and mighty. In this paper we discuss existing work, present a revised catalogue of OCL-exclusive refactorings and provide an implementation. We do not consider co-refactorings of OCL constraints and their constrained models.

References

  1. J. Cabot and E. Teniente. Transforming OCL constraints: a context change approach. In ACM symposium on Applied computing, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Chimiak-Opoka, B. Demuth, A. Awenius, D. Chiorean, S. Gabel, L. Hamann, and E. Willink. OCL Tools Report based on the IDE4OCL Feature Model. In OCL and Textual Modelling, 2011.Google ScholarGoogle Scholar
  3. A. Correa and C. Werner. Refactoring object constraint language specifications. Software and Systems Modeling, 2007.Google ScholarGoogle ScholarCross RefCross Ref
  4. A. Correa, C. Werner, and M. Barros. Refactoring to improve the understandability of specifications written in object constraint language. Software, IET, 3(2):69--90, 2009.Google ScholarGoogle ScholarCross RefCross Ref
  5. M. Fowler. Refactoring: Improving the Design of Existing Code. Addison-Wesley, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. Giese and D. Larsson. Simplifying Transformations of OCL Constraints. In Model Driven Engineering Languages and Systems. Springer, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. K. Hassam, S. Sadou, V. Gloahec, and R. Fleurquin. Assistance System for OCL Constraints Adaptation during Metamodel Evolution. In CSMR2011, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. S. Marković and T. Baar. Refactoring OCL Annotated UML Class Diagrams. Software and Systems Modeling, 2008.Google ScholarGoogle Scholar
  9. J. Reimann, M. Seifert, and U. Aßmann. Role-Based Generic Model Refactoring. In Model Driven Engineering Languages and Systems. Springer, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. Reimann, M. Seifert, and U. Aßmann. On the reuse and recommendation of model refactoring specifications. Software and Systems Modeling, 2012.Google ScholarGoogle Scholar
  11. C. Wilke and B. Demuth. UML is still inconsistent! How to improve OCL Constraints in the UML 2.3 Superstructure. EASST, 2011.Google ScholarGoogle Scholar

Index Terms

  1. Tool supported OCL refactoring catalogue

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        OCL '12: Proceedings of the 12th Workshop on OCL and Textual Modelling
        September 2012
        66 pages
        ISBN:9781450317993
        DOI:10.1145/2428516

        Copyright © 2012 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 30 September 2012

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader