Abstract
The UML abstract syntax and semantics specification distinguishes between the statics and the dynamics of collaborations: the rôle context and interactions. We propose a formal semantics of interactions based on the abstract syntax and directly reflecting the specification. The semantics is both parametric in the notion of context and in semantic details that are intentionally left open by the specification, but resolves true inconsistencies. The formalisation uses temporal logic formulae in the style of Manna and Pnueli. We illustrate the flexibility of our semantics by discussing instantiations for a running example; its intuitiveness is substantiated by proving that the temporal formulae give rise to partial orders that also directly can be inferred from interactions.
This work was carried out during a stay at the Computer Science Laboratory of SRI International as part of the Visitor Exchange Program P-1-3334. It was supported by a DAAD scholarship and partially by the Bayerische Forschungsstiftung.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Egil P. Andersen. Conceptual Modeling of Objects — A Role Modeling Approach. PhD thesis, Universitetet i Oslo, 1997.
João Araújo. Formalizing Sequence Diagrams. In Luis F. Andrade, Ana Moreira, Akash R. Deshpande, and Stuart Kent, editors, Proc. Wsh. Formalizing UML. Why? How?, Vancouver, 1998.
Ruth Breu, Radu Grosu, Franz Huber, Bernhard Rumpe, and Wolfgang Schwerin. Systems, Views and Models of UML. In Axel Korthaus and Martin Schader, editors, The Unified Modeling Language — Technical Aspects and Applications, pages 93–108. Physica, Heidelberg, 1998.
Pietro Cenciarelli, Alexander Knapp, Bernhard Reus, and Martin Wirsing. An Event-Based Structural Operational Semantics of Multi-Threaded Java. In Jim Alves-Foss, editor, Formal Syntax and Semantics of Java, volume 1523 of Lect. Notes Comp. Sci., pages 157–200. Springer, Berlin, 1999.
Robert France, Andrew Evans, Kevin Lano, and Bernhard Rumpe. The UML as a Formal Modeling Notation. Comp. Stand. Interf., 19(7):325–334, 1998.
Thomas Gehrke, Ursula Goltz, and Heike Wehrheim. The Dynamic Models of UML: Towards a Semantics and Its Application in the Development Process. Technical Report 11/98, Universität Hildesheim, 1998.
Piotr Kosiuczenko and Martin Wirsing. Towards an Integration of Message Sequence Charts and Timed Maude. In Murat M. Tanik, Jiro Tanaka, Kiyoshi Itoh, Michael Goedicke, Wilhelm Rossak, Hartmut Ehrig, and Franz Kurfueß, editors, Proc. 3 rd Int. Conf. Integrated Design and Process Technology, Berlin, 1998.
Zohar Manna and Amir Pnueli. The Temporal Logic of Reactive and Concurrent Systems. Vol. 1: Specification. Springer, New York-etc., 1992.
Object Management Group. OMG UML v1.3: Revisions and Recommendations — Appendix A: Issues Database Report. Technical report, Object Management Group, 1999. http://www.omg.org/docs/ad/99-06-11.pdf.
Object Management Group. Unified Modeling Language Specification, Version 1.3. Technical report, Object Management Group, 1999. http://www.omg.org/docs/ad/99-06-08.zip.
Vaughan Pratt. Modeling Concurrency with Partial Orders. Int. J. Parallel Program., 15(1):33–71, 1986.
Martin Wirsing and Alexander Knapp. A Formal Approach to Object-Oriented Software Engineering. In José Meseguer, editor, Proc. 1 st Int. Wsh. Rewriting Logic and Its Applications, volume 4 of Electr. Notes Theo. Comp. Sci., pages 321–359. Elsevier, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Knapp, A. (1999). A Formal Semantics for UML Interactions. In: France, R., Rumpe, B. (eds) «UML»’99 — The Unified Modeling Language. UML 1999. Lecture Notes in Computer Science, vol 1723. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46852-8_9
Download citation
DOI: https://doi.org/10.1007/3-540-46852-8_9
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66712-4
Online ISBN: 978-3-540-46852-3
eBook Packages: Springer Book Archive