Formalizing UML Models with Object-Z

  • Huaikou Miao
  • Ling Liu
  • Li Li
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2495)


The Unified Modeling Language (UML) has been developed as a standard language for object-oriented designs. Through its graphical and intuitive diagrams, software analysis and design process become easy. However, this graphical notation lacks precisely defined semantics. It is difficult to determine whether the design is consistent, unambiguous and complete. This paper provides a method of formalizing UML models. It gives the transforming rules from UML models to Object-Z constructs. With this method, the semantics of UML models are directly expressed in formal language Object-Z. The UML class, sequence and statechart diagrams are formalized using this method. A tool OZRose is developed to automate the transforming process.


Unify Modeling Language Class Diagram Sequence Diagram Object Constraint Language Composite State 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Object Management Group, OMG Unified Modeling Language Specification, Version 1.3, June 1999,
  2. [2]
    R. B. France, A. Evans, K. Lano, and B. Rumpe, Developing the UML as a Formal Modeling Notation, Computer Standards and Interfaces, No 19, pp. 325–334, 1998.Google Scholar
  3. [3]
    M. Bickford and D. Guaspari, Odyssey Research Associates Report No. 10, 1998.Google Scholar
  4. [4]
    A. Hamie, “A Formal Semantics for Checking and Analysing UML Models”, in Proceedings of the OOPSLA’98 Workshop on Formalizing UML. Why? How?, edited by L. Andrade, A. Moreira, A. Deshpande, and S. Kent, 1998.Google Scholar
  5. [5]
    A. Hamie, J. Howse, and S. Kent, “Interpreting the Object Constraint Language”, in Proceedings of Asia Pacific Conference in Software Engineering, IEEE Press, 1998.Google Scholar
  6. [6]
    S. Mann and M. Klar, “A Metamodel for Object-Oriented Statecharts”, in Proc. 2nd Workshop on Rigorous Object-Oriented Methods, ROOM 2, University of Bradford, 1998.Google Scholar
  7. [7]
    M. Gogolla and M. Richters, “Equivalence Rules for UML Class Diagrams”, in The Unified Modeling Language, UML’98-Beyond the Notation. First International Workshop, Mulhouse, France, Jun 1998, edited by J. Bézivin and P.-A. Muller, LNCS Vol. 1618, pp. 87–96. Springer, 1998.Google Scholar
  8. [8]
    A. Evans and T. Clark, “Foundations of the Unified Modeling Language”, in Proc. of the 2nd BCS-FACS Northern Formal Methods Workshop, Ilkley, UK, 23–24 September 1997, 1997.Google Scholar
  9. [9]
    A. Evans, “Reasoning with the Unified Modeling Language”, in Proc. Workshop on Industrial-Strength Formal Specification Techniques (WIFT’98), 1998.Google Scholar
  10. [10]
    S-K. Kim and D. Carrington, Formalizing the UML class diagram using Object-Z, Proc 2nd IEEE conference on UML: UML’99, LNCS, No 1723, pp. 83–98, 1999.Google Scholar
  11. [11]
    S-K. Kim and D. Carrington,, An Integrated Framework with UML and Object-Z for Developing a Precise and Understandable Specification: The Light Control Case Study, In Seventh Asia-Pacific Software Engineering Conference, pages 240–248, December 2000. IEEE Computer Society. Los Alamitos, California.CrossRefGoogle Scholar
  12. [12]
    R. Duke, G. Rose and G. Smith, Object-Z: a Specification Language Advocated for the Description of Standards. Technique Report No. 94-45, December 1994.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • Huaikou Miao
    • 1
  • Ling Liu
    • 1
  • Li Li
    • 1
  1. 1.School of Computer Engineering and ScienceShanghai UniversityShanghaiChina

Personalised recommendations