Abstract
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.
This work is supported by National Natural Science Foundation of China (No. 60173030).
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Object Management Group, OMG Unified Modeling Language Specification, Version 1.3, June 1999, http://www.rational.com.
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.
M. Bickford and D. Guaspari, Odyssey Research Associates Report No. 10, 1998.
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.
A. Hamie, J. Howse, and S. Kent, “Interpreting the Object Constraint Language”, in Proceedings of Asia Pacific Conference in Software Engineering, IEEE Press, 1998.
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.
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.
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.
A. Evans, “Reasoning with the Unified Modeling Language”, in Proc. Workshop on Industrial-Strength Formal Specification Techniques (WIFT’98), 1998.
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.
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.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Miao, H., Liu, L., Li, L. (2002). Formalizing UML Models with Object-Z. In: George, C., Miao, H. (eds) Formal Methods and Software Engineering. ICFEM 2002. Lecture Notes in Computer Science, vol 2495. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36103-0_53
Download citation
DOI: https://doi.org/10.1007/3-540-36103-0_53
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00029-7
Online ISBN: 978-3-540-36103-9
eBook Packages: Springer Book Archive