Skip to main content

A Formal Descriptive Semantics of UML

  • Conference paper
Formal Methods and Software Engineering (ICFEM 2008)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 5256))

Included in the following conference series:

Abstract

This paper proposes a novel approach to the formal definition of UML semantics. We distinguish descriptive semantics from functional semantics of modelling languages. The former defines which system is an instance of a model while the later defines the basic concepts underlying the models. In this paper, the descriptive semantics of class diagram, interaction diagram and state machine diagram are defined by first order logic formulas. A translation tool is implemented and integrated with the theorem prover SPASS to enable automated reasoning about models. The formalisation and reasoning of models is then applied to model consistency checking.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. SPASS, http://spass.mpi-inf.mpg.de/

  2. Seidewitz, E.: What models mean. IEEE Software 20(5), 26–31 (2003)

    Article  Google Scholar 

  3. OMG, Unified Modeling Language: Superstructure version 2.0. Object Management Group (2005)

    Google Scholar 

  4. Kent, S., Evans, A., Rumpe, B.: UML Semantics FAQ. In: Moreira, A.M.D., Demeyer, S. (eds.) ECOOP 1999 Workshops. LNCS, vol. 1743, pp. 33–56. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  5. Evans, A., et al.: The UML as a Formal Modeling Notation. In: Bézivin, J., Muller, P.-A. (eds.) UML 1998. LNCS, vol. 1618, pp. 325–334. Springer, Heidelberg (1999)

    Google Scholar 

  6. Amálio, N., Polack, F.: Comparison of Formalisation Approaches of UML Class Constructs in Z and Object-Z. In: Bert, D., Bowen, J.P., King, S. (eds.) ZB 2003. LNCS, vol. 2651, pp. 339–358. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  7. Berardi, D., Cal, A., Calvanese, D.: Reasoning on UML class diagrams Artificial Intelligence 168(1), 70–118 (2005)

    Google Scholar 

  8. Varro, D.: A Formal Semantics of UML Statecharts by Model Transition Systems. In: Corradini, A., Ehrig, H., Kreowski, H.-J., Rozenberg, G. (eds.) ICGT 2002. LNCS, vol. 2505, pp. 378–392. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  9. Beeck, M.v.d.: A structured operational semantics for UML-statecharts. Softw. Syst. Model 1, 130–141 (2002)

    Article  Google Scholar 

  10. Reggio, G., Cerioli, M., Astesiano, E.: Towards a Rigorous Semantics of UML Supporting Its Multiview Approach. In: Hussmann, H. (ed.) FASE 2001. LNCS, vol. 2029, pp. 171–186. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  11. Reggio, G., Astesiano, E., Choppy, C.: Casl-Ltl : A Casl Extension for Dynamic Reactive Systems – Summary. Technical Report DISI-TR-99-34. DISI – Universit‘a di Genova, Italy (1999)

    Google Scholar 

  12. Kuske, S., et al.: An Integrated Semantics for UML Class, Object and State Diagrams Based on Graph Transformation. In: Butler, M., Petre, L., Sere, K. (eds.) IFM 2002. LNCS, vol. 2335, pp. 11–28. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  13. Snook, C., Butler, M.: UML-B: Formal Modeling and Design Aided by UML. ACM Transactions on Software Engineering and Methodology 15(1), 92–122 (2006)

    Article  Google Scholar 

  14. Moller, M., et al.: Linking CSP-OZ with UML and Java: A Case Study. In: Boiten, E.A., Derrick, J., Smith, G.P. (eds.) IFM 2004. LNCS, vol. 2999, pp. 267–286. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  15. Nentwich, C., et al.: Flexible consistency checking. ACM Transactions on Software Engineering and Methodology 12(1), 28–63 (2003)

    Article  Google Scholar 

  16. Nentwich, C., et al.: xlinkit: a consistency checking and smart link generation service. ACM Trans. Internet Techn. 2(2), 51–185 (2002)

    Article  Google Scholar 

  17. Shan, L., Zhu, H.: Specifying consistency constraints for modelling languages. In: 18th International Conference on Software Engineering and Knowledge Engineering (SEKE 2006), pp. 578–583. Knowledge Systems Institute, San Francisco (2006)

    Google Scholar 

  18. Shan, L., Zhu, H.: Consistency check in modeling multi-agent systems. In: 26th International Computer Software and Applications Conference (COMPSAC 2004), pp. 114–121. IEEE Computer Society, Hong Kong (2004)

    Google Scholar 

  19. Muskens, J., Bril, R.J., Chaudron, M.R.V.: Generalizing Consistency Checking between Software Views. In: 5th Working IEEE/IFIP Conference on Software Architecture (WICSA 2005), pp. 169–180. IEEE Computer Society, Los Alamitos (2005)

    Chapter  Google Scholar 

  20. Rasch, H., Wehrheim, H.: Cheking Consistency in UML Diagrams: Classes and State Machines. In: Formal Methods for Open Object-Based Distributed Systems, pp. 229–243. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  21. Simmonds, J., Bastarrica, M.C.: A Tool for Automatic UML Model Consistency Checking. In: ASE 2005, pp. 431–432. ACM, Long Beach (2005)

    Google Scholar 

  22. Straeten, R.V.D., et al.: Using Description Logic to Maintain Consistency between UML Models. In: Stevens, P., Whittle, J., Booch, G. (eds.) UML 2003. LNCS, vol. 2863, pp. 326–340. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  23. Egyed, A.: Instant Consistency Checking for the UML. In: ICSE 2006, Shanghai, China, pp. 381–390 (2006)

    Google Scholar 

  24. Straeten, R.V.D., Simmonds, J., Mens, T.: Detecting Inconsistencies between UML Models Using Description Logic. In: Proceedings of the 2003 International Workshop on Description Logics (DL 2003), Rome, Italy (2003)

    Google Scholar 

  25. Mens, T., Straeten, R.V.D., Simmonds, J.: Maintaining Consistency between UML Models with Description Logic Tools. In: ECOOP Workshop on Object-Oriented Reengineering (2003)

    Google Scholar 

  26. StarUML, http://staruml.sourceforge.net/en/

  27. Weidenbach, C.: SPASS - Version 0.49. J. Autom. Reasoning 18(2), 247–252 (1997)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Shan, L., Zhu, H. (2008). A Formal Descriptive Semantics of UML. In: Liu, S., Maibaum, T., Araki, K. (eds) Formal Methods and Software Engineering. ICFEM 2008. Lecture Notes in Computer Science, vol 5256. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-88194-0_23

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-88194-0_23

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-88193-3

  • Online ISBN: 978-3-540-88194-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics