skip to main content
10.1145/1656485.1656489acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmodevvaConference Proceedingsconference-collections
research-article

From UML to Alloy and back again

Published:05 October 2009Publication History

ABSTRACT

Model Transformations can be used to bridge the gap between design and analysis technical spaces by creating tools that allow a model produced by a designer to be transformed to a model suitable for conducting automated analysis. Such model transformations aim at allowing the designer to benefit from the capabilities provided by analysis tools and languages. If the designer who is not a formal method expert is to benefit from such tools, the outcome of the analysis should also be transformed to the language used in the design domain.

This paper presents a study involving UML2Alloy, a tool for transforming UML models in form of UML class diagrams which are augmented with OCL constraints, to Alloy. The conversion allows analysis of UML models via Alloy, to identify consistencies in those UML models. We present a method of automatically creating a model transformation based on the original UML2Alloy transformation. The new transformation converts Alloy instances into the UML equivalent object diagram. The current technique is presented with the help of an example, along with a prototype implementation using the QVT standard.

References

  1. J.-R. Abrial. The B-book: assigning programs to meanings. Cambridge University Press, New York, NY, USA, 1996. ISBN 0-521-49619-5. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Kyriakos Anastasakis, Behzad Bordbar, Geri Georg, and Indrakshi Ray. UML2Alloy: A Challenging Model Transformation. In G. Engels, B. Opdyke, D.C. Schmidt, and F. Weil, editors, ACM/IEEE 10th International Conference on Model Driven Engineering Languages and Systems, volume 4735 of LNCS, pages 436--450, Nashville, USA, 2007. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Kyriakos Anastasakis, Behzad Bordbar, Geri Georg, and Indrakshi Ray. On Challenges of Model Transformation from UML to Alloy. Software and Systems Modeling, Special Issue on MoDELS 2007, 2009. Accepted for publication subject to minor revisions.Google ScholarGoogle Scholar
  4. Behzad Bordbar and Kyriakos Anastasakis. UML2Alloy: A tool for lightweight modelling of Discrete Event Systems. In Nuno Guimarães and Pedro Isaías, editors, IADIS International Conference in Applied Computing 2005, volume 1, pages 209--216, Algarve, Portugal, February 2005. IADIS Press. ISBN 972-99353-6-X.Google ScholarGoogle Scholar
  5. Greg Dennis, Robert Seater, Derek Rayside, and Daniel Jackson. Automating commutativity analysis at the design level. In ISSTA '04: Proceedings of the 2004 ACM SIGSOFT international symposium on Software testing and analysis, pages 165--174. ACM Press, 2004. ISBN 1-58113-820-2. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Andy Evans, Robert France, and Emanuel Grant. Towards Formal Reasoning with UML Models. In Proceedings of the OOPSLA '99 Workshop on Behavioral Semantics, 1999.Google ScholarGoogle Scholar
  7. Geri Georg, Indrakshi Ray, Kyriakos Anastasakis, Behzad Bordbar, Manachai Toahchoodee, and Siv Hilde Houmb. An Aspect-Oriented Methodology for Developing Secure Applications. Information and Software Technology. Special Issue on Model Based Development for Secure Information Systems. Accepted for publication. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Daniel Jackson. Software Abstractions: Logic, Language, and Analysis. The MIT Press, London, England, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Daniel Jackson and Kevin Sullivan. COM revisited: tool-assisted modelling of an architectural framework. In 8th ACM SIGSOFT Symposium on the Foundations of Software Engineering (FSE), San Diego, CA, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Sarfraz Khurshid and Daniel Jackson. Exploring the design of an intentional naming scheme with an automatic constraint analyzer. In ASE '00: Proceedings of the 15th IEEE international conference on Automated software engineering, page 13, Washington, DC, USA, 2000. IEEE Computer Society. ISBN 0-7695-0710-7. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Soon-Kyeong Kim. A Metamodel-based Approach to Integrate Object-Oriented Graphical and Formal Specification Techniques. PhD thesis, University of Queensland, Brisbane, Australia, 2002.Google ScholarGoogle Scholar
  12. I. Kurtev, J. Bézivin, and M. Aksit. Technological Spaces: an Initial Appraisal. CoopIS, DOA, 2002, 2002.Google ScholarGoogle Scholar
  13. OMG. enterprise distributed object computing (edoc),. URL http://www.omg.org/technology/documents/formal/edoc.htm.Google ScholarGoogle Scholar
  14. OMG. Metaobject facility (mof),. URL http://www.omg.org/mof/.Google ScholarGoogle Scholar
  15. OMG. Meta Object Facility (MOF) 2.0 Core Specification. OMG, 2004. URL www.omg.org.Google ScholarGoogle Scholar
  16. OMG. MOF QVT Final Adopted Specification. Object Modeling Group, 2007.Google ScholarGoogle Scholar
  17. Ilya Shlyakhter, Robert Seater, Daniel Jackson, Manu Sridharan, and Mana Taghdiri. Debugging overconstrained declarative models using unsatisfiable cores. In Proceedings of the 18th IEEE International Conference on Automated Software Engineering, Montreal, Canada, pages 94--105. IEEE Computer Society, 2003.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Colin Snook and Michael Butler. Uml-b: Formal modelling and design aided by uml. ACM Transactions on Software Engineering and Methodology, 15 (1):92--122, January 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Perdita Stevens. Bidirectional model transformations in qvt: Semantic issues and open questions. In MoDELS, pages 1--15, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. France Telecom. Smartqvt: An open source model transformation tool implementing the mof 2.0 qvt-operational language. URL http://smartqvt.elibel.tm.fr/.Google ScholarGoogle Scholar
  21. OMG UML. 2.0 superstructure final adopted specification. OMG Document reference ptc/03--08, 2, 2003.Google ScholarGoogle Scholar
  22. D. Varro. Model transformation by example. Lecture Notes in Computer Science, 4199, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. D. Varro and A. Pataricza. Generic and meta-transformations for model transformation engineering. Lecture Notes in Computer Science, pages 290--304, 2004.Google ScholarGoogle Scholar
  24. D. Varró and A. Pataricza. VPM: A visual, precise and multilevel metamodeling framework for describing mathematical domains and UML. Software and Systems Modeling, 2(3): 187--210, 2003.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Manuel Wimmer, Michael Strommer, Horst Kargl, and Gerhard Kramler. Towards model transformation generation by-example. In HICSS '07: Proceedings of the 40th Annual Hawaii International Conference on System Sciences, Washington, DC, USA, 2007. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Jim Woodcock and Jim Davies. Using Z: Specification, Refinement, and Proof. Prentice Hall, Upper Saddle River, NJ, USA, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. From UML to Alloy and back again

              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 Other conferences
                MoDeVVa '09: Proceedings of the 6th International Workshop on Model-Driven Engineering, Verification and Validation
                October 2009
                95 pages
                ISBN:9781605588766
                DOI:10.1145/1656485

                Copyright © 2009 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: 5 October 2009

                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