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.
- J.-R. Abrial. The B-book: assigning programs to meanings. Cambridge University Press, New York, NY, USA, 1996. ISBN 0-521-49619-5. Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- 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 Scholar
- 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 ScholarDigital Library
- 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 Scholar
- 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 ScholarDigital Library
- Daniel Jackson. Software Abstractions: Logic, Language, and Analysis. The MIT Press, London, England, 2006. Google ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 Scholar
- I. Kurtev, J. Bézivin, and M. Aksit. Technological Spaces: an Initial Appraisal. CoopIS, DOA, 2002, 2002.Google Scholar
- OMG. enterprise distributed object computing (edoc),. URL http://www.omg.org/technology/documents/formal/edoc.htm.Google Scholar
- OMG. Metaobject facility (mof),. URL http://www.omg.org/mof/.Google Scholar
- OMG. Meta Object Facility (MOF) 2.0 Core Specification. OMG, 2004. URL www.omg.org.Google Scholar
- OMG. MOF QVT Final Adopted Specification. Object Modeling Group, 2007.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Perdita Stevens. Bidirectional model transformations in qvt: Semantic issues and open questions. In MoDELS, pages 1--15, 2007. Google ScholarDigital Library
- France Telecom. Smartqvt: An open source model transformation tool implementing the mof 2.0 qvt-operational language. URL http://smartqvt.elibel.tm.fr/.Google Scholar
- OMG UML. 2.0 superstructure final adopted specification. OMG Document reference ptc/03--08, 2, 2003.Google Scholar
- D. Varro. Model transformation by example. Lecture Notes in Computer Science, 4199, 2006. Google ScholarDigital Library
- D. Varro and A. Pataricza. Generic and meta-transformations for model transformation engineering. Lecture Notes in Computer Science, pages 290--304, 2004.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- Jim Woodcock and Jim Davies. Using Z: Specification, Refinement, and Proof. Prentice Hall, Upper Saddle River, NJ, USA, 1996. Google ScholarDigital Library
Index Terms
- From UML to Alloy and back again
Recommendations
From UML to alloy and back again
MODELS'09: Proceedings of the 2009 international conference on Models in Software EngineeringModel 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 ...
Translating between Alloy specifications and UML class diagrams annotated with OCL
Model-driven engineering (MDE) is a software engineering approach based on model transformations at different abstraction levels. It prescribes the development of software by successively transforming the models from abstract (specifications) to more ...
Translating alloy specifications to UML class diagrams annotated with OCL
SEFM'11: Proceedings of the 9th international conference on Software engineering and formal methodsModel-Driven Engineering (MDE) is a Software Engineering approach based on model transformations at different abstraction levels. It prescribes the development of software by successively transforming models from abstract (specifications) to more ...
Comments