This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UmL question

 
Shankar Ranganathan
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If Class A has an aggregation relation with Class B where would the diamond will point to?ie whether the diamond will point towards A or B.
 
Tom Adams
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on which is the Parent class. The diamond goes on the class that contains or references the other class.
Another way to look at it is that it goes on the single multiplicity side.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic