The Association Classes

As you progress, you’ll often find other common design changes being made to standard modeling approaches. For example, when you see an association class, such as the Pekerjaan class in Figure, you may need to convert it to a class that lies as an intermediate class between the ends of the original association (an inline class). You can see an example of how to do this in the sample diagram of Figure. This diagram shows the trick of keeping the promoted multiplicities correct. The outer multiplicities become inner multiplicities—they switch sides on the promoted class—and the outer multiplicities are replaced with 1.
 Association Classes converted
Association class converted
Though there are other possible design/implementation approaches to association classes, the transformation shown in Figure is the most common because it’s easy to implement and easy to make the objects live in a database. We promote the association class Pekerjaan in this manner in Figure.

Thanks God I’ve found you (before).. =) 


Form Bagian
Class Bagian
Form Karyawan dan Pekerjaan
Classes implemented
Somebody's journey (not mine):
-UML 2 for Dummies-
Michael Jesse Chonoles and James A. Schardt

Regards,

Subhan.



Comments