A Dual-Formalism Approach to Checking Consistency of Class and State Diagrams in UML
W. L. Yeung
2004
Abstract
The B Abstract Machine Notation (AMN) and the notation of Communicating Sequential Processes (CSP) have previously been applied to formalise the UML class and state diagrams, respectively. The paper discusses their integrated use in checking the consistency between the two UML diagrams based on some recent results of research in integrated formal methods. Through a small information system example, the paper illustrates a clear-cut separation of concerns in employing the two formal methods. Of particular interest is the treatment of recursive calls within a single class of objects.
References
- J. R. Abrial. The B-Book. Cambridge University Press, 1996.
- B-Core (UK) Ltd., Oxford (UK). B-Toolkit User's Manual, Release 3.2, 1996.
- H. Bowman and J. Derrick. A junction between state based and behavioural specification. In P. Ciancarini, A. Fantechi, and R. Gorrieri, editors, Proceedings of 4th IFIP International Conference on Formal Methods for Open Object-Based Distributed Systems, pages 213-237. Kluwer, 1999.
- Gregor Engels, Jochem M. Küster, Reiko Heckel, and Luuk Groenewegen. A Methodology for Specifying and Analyzing Consistency of Object-Oriented Behavioral Models. In Proceedings of the 8th European Software Engineering Conference Held Jointly with 9th ACM SIGSOFT Symposium on the Foundations of Software Engineering, pages 186-195. ACM Press, 2001.
- Formal Systems (Europe) Ltd. Failures-Divergence Refinement: FDR2 User Manual, 2003.
- David Harel. Statecharts: A visual formalism for complex systems. Science of Computer Programming, 8(3):231-274, June 1987.
- C. A. R. Hoare. Communicating Sequential Processes. Prentice Hall, 1985.
- I. Jacobson, M. Griss, P. Jonsson, and G. Oevergaard. Object-Oriented Software Engineering: A Use Case Driven Approach. Addison-Wesley, 1992.
- Kai Koskimies, Tarja Systä, Jyrki Tuomi, and Tatu Männistö. Automated Support for Modeling OO Software. IEEE Software, pages 87-94, January-February 1998.
- K. Lano. The B Language and Method: A Guide to Practical Formal Development. FACIT. Springer-Verlag, 1996.
- H. Ledang and J. Souquières. Integrating UML and B Specification Techniques. In GI2001 Workshop: Integrating Diagrammatic and Formal Specification Techniques, Universität Wien, O sterreich, September 2001.
- Eric Meyer and Jeanine Souquières. A Systematic Approach to Transform OMT Diagrams to a B Specification. In J. Wing, J. Woodcock, and J. Davies, editors, FM'99 - B Users Group Meeting - Applying B in an industrial context : Tools, Lessons and Techniques, volume 1708 of LNCS, pages 875-895. Springer-Verlag, 1999.
- Object Management Group. OMG Unified Modeling Language Specification Version 1.4, September 2001.
- Steve Schneider. The B-Method: An Introduction. Palgrave, 2001.
- Steve Schneider and Helen Treharne. Communicating B Machines. In ZB'2002 - Formal Specification and Development in Z and B, volume 2272 of Lecture Notes in Computer Science (Springer-Verlag), pages 416-435, Grenoble, France, January 2002. Laboratoire LSRIMAG.
- STERIA - Technologies de l'Information, Aix-en-Provence (F). Atelier B, Manuel Utilisateur, Version 3.5, 1998.
- J. Tenzer and P. Stevens. Modelling recursive calls with uml state diagrams. In Proceedings of FASE 2003, volume 2621, pages 135-149. Springer, 2003.
- Helen Treharne and Steve Schneider. Using a process algebra to control B OPERATIONS. In IFM'99 1st International Conference on Integrated Formal Methods, pages 437-457, York, June 1999. Springer-Verlag.
- W. L. Yeung. Checking Consistency Between Class Structure and State Machines Based on CSP and B. Technical report, Department of Information Systems, Lingnan University, Hong Kong, 2003.
Paper Citation
in Harvard Style
L. Yeung W. (2004). A Dual-Formalism Approach to Checking Consistency of Class and State Diagrams in UML . In Proceedings of the 2nd International Workshop on Verification and Validation of Enterprise Information Systems - Volume 1: VVEIS, (ICEIS 2004) ISBN 972-8865-03-1, pages 2-9. DOI: 10.5220/0002664300020009
in Bibtex Style
@conference{vveis04,
author={W. L. Yeung},
title={A Dual-Formalism Approach to Checking Consistency of Class and State Diagrams in UML},
booktitle={Proceedings of the 2nd International Workshop on Verification and Validation of Enterprise Information Systems - Volume 1: VVEIS, (ICEIS 2004)},
year={2004},
pages={2-9},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002664300020009},
isbn={972-8865-03-1},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 2nd International Workshop on Verification and Validation of Enterprise Information Systems - Volume 1: VVEIS, (ICEIS 2004)
TI - A Dual-Formalism Approach to Checking Consistency of Class and State Diagrams in UML
SN - 972-8865-03-1
AU - L. Yeung W.
PY - 2004
SP - 2
EP - 9
DO - 10.5220/0002664300020009