Mapping UML associations into Java code

34Citations
Citations of this article
33Readers
Mendeley users who have this article in their library.

Abstract

Object-oriented programming languages do not contain syntax or semantics to express associations directly. Therefore, UML associations have to be implemented by an adequate combination of classes, attributes and methods. This paper presents some principles for the implementation of UML binary associations in Java, paying special attention to multiplicity, navigability and visibility. Our analysis has encountered some paradoxes in the specification of visibility for bidirectional associations. These principles have been used to write a series of code patterns that we use in combination with a tool that generates code for "associations, which are read from a model stored in XMI format.

Cite

CITATION STYLE

APA

Génova, G., Del Castillo, C. R., & Llorens, J. (2003). Mapping UML associations into Java code. Journal of Object Technology, 2(5), 135–162. https://doi.org/10.5381/jot.2003.2.5.a4

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free