Implementing Associations: UML 2.0 to Java 5

Akehurst, David H. and Howells, W. Gareth J. and McDonald-Maier, Klaus (2006) Implementing Associations: UML 2.0 to Java 5. Journal of Software and Systems Modeling, 6 (1). pp. 3-35. ISSN 1619-1366 . (Full text available)

PDF
Download (1MB)
[img]
Preview
Official URL
http://dx.doi.org/10.1007/s10270-006-0020-1

Abstract

A significant current software engineering problem is the conceptual mismatch between the abstract concept of an association as found in modelling languages such as UML and the lower level expressive facilities available in object-oriented languages such as Java. This paper introduces some code generation patterns that aid the production of Java based implementations from UML models. The work is motivated by a project to construct model driven development tools in support of the construction of embedded systems. This involves the specification and implementation of a number of meta-models (or models of languages). Many current UML oriented tools provide code generation facilities, in particular the generation of object-oriented code from class diagrams. However, many of the more complex aspects of class diagrams, such as qualified associations are not supported. In addition, several concepts introduced in UML version 2.0 are also not supported. The aim of the work presented in this paper is to develop a number of code generation patterns that allow us to support the automatic generation of Java code from UML class diagrams that support these new and complex association concepts. These patterns significantly improve the code generation abilities of UML tools, providing a useful automation facility that bridges the gap between the concept of an association and lower level object-oriented programming languages.

Item Type: Article
Uncontrolled keywords: UML · Java · Association · Property · Code Generation
Subjects: T Technology
Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Faculties > Science Technology and Medical Studies > School of Engineering and Digital Arts > Image and Information Engineering
Depositing User: J. Harries
Date Deposited: 19 Dec 2007 18:16
Last Modified: 09 Apr 2014 09:06
Resource URI: http://kar.kent.ac.uk/id/eprint/475 (The current URI for this page, for reference purposes)
  • Depositors only (login required):

Downloads

Downloads per month over past year