Skip to main content
Kent Academic Repository

Implementing Associations: UML 2.0 to Java 5

Akehurst, David H., Howells, Gareth, McDonald-Maier, Klaus D. (2006) Implementing Associations: UML 2.0 to Java 5. Journal of Software and Systems Modeling, 6 (1). pp. 3-35. ISSN 1619-1366. (doi:10.1007/s10270-006-0020-1) (KAR id:475)

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
DOI/Identification number: 10.1007/s10270-006-0020-1
Uncontrolled keywords: UML · Java · Association · Property · Code Generation
Subjects: T Technology
Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Engineering and Digital Arts
Depositing User: J. Harries
Date Deposited: 19 Dec 2007 18:16 UTC
Last Modified: 05 Nov 2024 09:30 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/475 (The current URI for this page, for reference purposes)

University of Kent Author Information

Akehurst, David H..

Creator's ORCID:
CReDIT Contributor Roles:

Howells, Gareth.

Creator's ORCID: https://orcid.org/0000-0001-5590-0880
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.