• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is '"composite aggregation"?

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I meet the question:
What is the difference between composite aggregation and normal aggregation.
a) Aggregation defines a part of relationship but both objects can exist independently.However, with composite aggregation if one part is removed, then the other part will also be removed. Think of a plane the wings have a composite aggregation relationship with the body of the plane.
b) Composite Aggregation defines a part of relationship but both objects can exist independently. However, with aggregation if one part is removed then the other part will be removed. Think of a plane, the wings have an aggregation relationship with the body of the plane.

The correct answer is a), but I can't fullly comprehend the concept, where can I find more stuff on this subject?

thanks in advanced
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I came across while searching for the same..I found the link http://www.holub.com/goodies/uml/ very useful in resolving the basic concepts of uml, hope you too find it worth .
Cheers,
Vijay Madiraju
SCJP,SCWCD 1.4
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic