School of Computing

A meta-model semantics for structural constraints in UML

S. Kent, S. Gaito, and N. Ross

In H. Kilov, B. Rumpe, and I. Simmonds, editors, Behavioral specifications for businesses and systems, chapter 9, pages 182-196. Kluwer Academic Publishers, Norwell, MA, September 1999.

Abstract

The UML standard has adopted a meta-modelling approach to defining the abstract syntax of UML. A meta-modelling approach is taken essentially to aid the construction of automated tools, but the semantics is defined by statements in English. A meta-model that incorporates precise semantics would support the construction of tools that could perform semantically-oriented tasks, such as consistency checking. One approach to defining the formal semantics of a language is denotational: essentially elaborating (in mathematics) the value or instance denoted by an expression of the language in a particular context. However, instances must also be expressed in some language: in UML, instances of the static model are expressed using object diagrams. Thus a meta-model can be constructed which incorporates (a) the modelling language itself, (b) the modelling language of instances, and (c) the mapping of one into the other. The current UML meta-model provides some support for (a) and (b), but not (c). (c) is the part that carries the semantics. This paper presents one such meta-model, for a fragment of UML suitable for describing and constraining object structures. The fragment includes parts of class diagrams and invariants in the style of OCL. An indication is given as to how the approach could be extended to models characterising dynamic behaviour.

Download publication 86 kbytes (PDF)

Bibtex Record

@incollection{800,
author = {S. Kent and S. Gaito and N. Ross},
title = {A Meta-model Semantics for Structural Constraints in {UML}},
month = {September},
year = {1999},
pages = {182-196},
keywords = {determinacy analysis, Craig interpolants},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/1999/800},
    address = {Norwell, MA},
    booktitle = {Behavioral specifications for businesses and systems},
    chapter = {9},
    editor = {H. Kilov and B. Rumpe and I. Simmonds},
    publisher = {Kluwer Academic Publishers},
}

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014