Formalizing UML Models with Object-Z
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.
KeywordsUnify Modeling Language Class Diagram Sequence Diagram Object Constraint Language Composite State
Unable to display preview. Download preview PDF.
- 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.Google Scholar
- M. Bickford and D. Guaspari, Odyssey Research Associates Report No. 10, 1998.Google Scholar
- 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
- 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
- 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
- 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
- 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
- A. Evans, “Reasoning with the Unified Modeling Language”, in Proc. Workshop on Industrial-Strength Formal Specification Techniques (WIFT’98), 1998.Google Scholar
- 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
- 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
- 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