0

I am synthesizing all the UML patterns -

Like Adaptor Pattern, Commander Pattern, Wrapper Pattern.

My question is what is preferred composition or aggregation. Also, why is it preferred so ?

user3629119
  • 151
  • 1
  • 9

1 Answers1

1

It is impossible to prefer some of kind of association. Both, composition or aggregation are used in specific situations in model. I recommend you to read UML Specification. Find info about association end, association and property element. Here is UML web site

Vladimir
  • 2,066
  • 15
  • 13