UML: how to implement Association class in Java

前端 未结 3 1075
感情败类
感情败类 2020-12-08 11:19

I have this UML Association class. Note that: horizontal line is a solid line and the vertical line is a dashed line.

 ---------                  ---------
|         


        
3条回答
  •  暖寄归人
    2020-12-08 11:52

    Just to add on, on your model you denote multiplicity on the association class. This is unnecessary because the association class IS the association itself, and the multiplicity relationship of the original two classes will satisfy.

提交回复
热议问题