A Formal Metamodeling Approach to a Transformation between the UML State Machine and Object-Z

  • Soon-Kyeong Kim
  • David Carrington
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2495)


A significant problem with currently suggested approaches for transforming between models in different languages is that the transformation is often described imprecisely, with the result that the overall transformation task may be imprecise, incomplete and inconsistent. This paper presents a formal metamodeling approach for transforming between UML and Object-Z. In the paper, the two languages are defined in terms of their formal metamodels, and a systematic transformation between the models is provided at the meta-level in terms of formal mapping functions. As a consequence, we can provide a precise, consistent and complete transformation between them.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    R. Duke and G. Rose, Formal Object-Oriented Specification Using Object-Z, Macmillan, 2000.Google Scholar
  2. [2]
    S. Dupuy, Y. Ledru, and M. Chabre-Peccoud. Translating the OMT Dynamic Model into Object-Z. in ZUM’98-The Z Formal Specification Notation, 12th International Conference ofZ users, LNCS. No. 1498, Springer-Verlag. pp. 347–366, 1998.CrossRefGoogle Scholar
  3. [3]
    R. France, J. Wu, M. M. Larrondo-Petrie, and J.-M. Bruel, A Tale of Two Case Studies: Using Integrated Methods to Support Rigorous Requirements Specification, Proc. of the BCS FACSMethods Integration Workshop, 1996.Google Scholar
  4. [4]
    H. Ledang and J. Souquieres, Contributions for Modeling UML State-Charts in B, Proc. IFM2002, LNCS, No. 2335, pp. 109–127, 2002Google Scholar
  5. [5]
    W. McUmber and B. Cheng. A General Framework for Formalizing UML with Formal Languages. in IEEE Conference on Software Engineering, pp. 433–442, 2001.Google Scholar
  6. [6]
    S-K. Kim and D. Carrington, A Formal Mapping between UML Models and Object-Z Specifications, ZB2000, LNCS, No. 1878, pp. 2–21, 2000.Google Scholar
  7. [7]
    S-K. Kim and D. Carrington, A Formal Denotational Semantics of UML in Object-Z, the special issue of the journal of l’Objet, Vol. 7(1), pp. 323–362, 2001Google Scholar
  8. [8]
    S-K. Kim, D. Carrington, and R. Duke. A Metamodel-Based Transformation between UML and Object-Z. in HCC’01 2001 IEEE Symposium on Visual Languages and Formal Methods, IEEE Press. pp. 112–119, 2001.Google Scholar
  9. [9]
    S-K. Kim and D. Carrington. A Formal Model of the UML Metamodel: the UML State Machine and its Integrity Constraints. Proc. ofZB 2002. LNCS. 2272, pp. 497–516, 2002Google Scholar
  10. [10]
    S-K. Kim and D. Carrington. A Formal Metamodeling Approach Linking UML and Object-Z, SVRC, The University of Queensland, Technical Report 02-23, 2002Google Scholar
  11. [11]
    J. Lilius and I. P. Paltor, Formalizing UML state machines for model checking, Proc. UML’99, LNCS, No. 1723, pp. 430–445, 1999.Google Scholar
  12. [12]
    E. Meyer and J. Souquieres, A Systematic Approach to Transform OMT Diagrams to a Specification, FM’99, Vol. 1, LNCS 1708, pp. 875–895, Springer-Verlag, 1999.Google Scholar
  13. [13]
    OMG, Unified Modeling Language Specification, version 1.3, 1999,
  14. [14]
    G. Smith. The Object-Z Specification Language. Advances in Formal Methods. Kluwer Academic Publishers, 2000.Google Scholar
  15. [15]
    E. Wang, H. Richter and B. Chen, Formalizing and Integrating the Dynamic Model with OMT, Proc. 19 th International Conference on Software Engineering, pp. 45–55, 1997.Google Scholar
  16. [16]
    R. Wieringa, E. Dubois, and S. Huyts. Integrating Semi-formal and Formal Requirements, in Advanced Information Systems Engineering, LNCS. No. 1250, Springer. pp. 19–32, 1997.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • Soon-Kyeong Kim
    • 1
  • David Carrington
    • 1
  1. 1.School of Information Technology and Electrical EngineeringThe University of QueenslandBrisbaneAustralia

Personalised recommendations