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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
SPASS, http://spass.mpi-inf.mpg.de/
Seidewitz, E.: What models mean. IEEE Software 20(5), 26–31 (2003)
OMG, Unified Modeling Language: Superstructure version 2.0. Object Management Group (2005)
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)
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)
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)
Berardi, D., Cal, A., Calvanese, D.: Reasoning on UML class diagrams Artificial Intelligence 168(1), 70–118 (2005)
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)
Beeck, M.v.d.: A structured operational semantics for UML-statecharts. Softw. Syst. Model 1, 130–141 (2002)
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)
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)
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)
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)
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)
Nentwich, C., et al.: Flexible consistency checking. ACM Transactions on Software Engineering and Methodology 12(1), 28–63 (2003)
Nentwich, C., et al.: xlinkit: a consistency checking and smart link generation service. ACM Trans. Internet Techn. 2(2), 51–185 (2002)
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)
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)
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)
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)
Simmonds, J., Bastarrica, M.C.: A Tool for Automatic UML Model Consistency Checking. In: ASE 2005, pp. 431–432. ACM, Long Beach (2005)
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)
Egyed, A.: Instant Consistency Checking for the UML. In: ICSE 2006, Shanghai, China, pp. 381–390 (2006)
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)
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)
StarUML, http://staruml.sourceforge.net/en/
Weidenbach, C.: SPASS - Version 0.49. J. Autom. Reasoning 18(2), 247–252 (1997)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)