2003
DOI: 10.5381/jot.2003.2.5.a4
|View full text |Cite
|
Sign up to set email alerts
|

Mapping UML Associations into Java Code.

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 … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

1
19
0

Year Published

2007
2007
2019
2019

Publication Types

Select...
6

Relationship

0
6

Authors

Journals

citations
Cited by 31 publications
(20 citation statements)
references
References 9 publications
1
19
0
Order By: Relevance
“…It ensures referential integrity and multiplicity constraints, but does not provide any implementation class. Génova (2003) presents some principles to mapping UML associations into Java code [16].…”
Section: Discussionmentioning
confidence: 99%
See 2 more Smart Citations
“…It ensures referential integrity and multiplicity constraints, but does not provide any implementation class. Génova (2003) presents some principles to mapping UML associations into Java code [16].…”
Section: Discussionmentioning
confidence: 99%
“…A unidirectional association end with a multiplicity of 1 requires a constructor that takes as parameter the reference to set, and prevents setting the reference to null. However, a bidirectional association with at least one end with a minimum multiplicity of 1 implies many more constraints [16]. When one object is created, the constructor needs to immediately assign or create the other one to be able to reference it right away.…”
Section: • Remove(int Index) Is Advised In Minimumorderedmentioning
confidence: 99%
See 1 more Smart Citation
“…Round-trip engineering for UML and Java has been extensively studied in the context of the development of FUJABA [33]. One particular concept of UML that received much attention in the context of Java code generation is the association concept [2,20,21]. However, none of these mentioned approaches consider the transformation of annotation types and their applications from Java to UML.…”
Section: Related Workmentioning
confidence: 99%
“…11 r e t u r n t r u e ; A problem is that if one (or both) association end(s) is (are) of private visibility, one (or both) side(s) must not be allowed to update the links at the opposite end [13]. The implementation of Fujaba [11] generates non-compilable code when modeling an association with all ends defined private.…”
Section: S E T a ( T H I S ) ;mentioning
confidence: 99%