Association is sometimes known as bidirectional relationship in which both classes know each other. Aggrigation is a kind of association in which whole/part relationship lies. Regards Awais
Association is sometimes known as bidirectional relationship in which both classes know each other.
Even in aggregation both the classes can know each other and can also be able to navigate.
Fintan Conway
Ranch Hand
Joined: Apr 03, 2002
Posts: 141
posted
0
Originally posted by Pradeep Bhat: What is the difference between association and aggregation ? Is Aggregation a stronger form of association?
Aggregation is a more specialised form of association. Aggregation tells you that the relationship is a whole/part association.
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
posted
0
Originally posted by Fintan Conway:
Aggregation is a more specialised form of association. Aggregation tells you that the relationship is a whole/part association.
Yes. Which actually means that there is no cycle in the object graph allowed - the whole must not be part of itself.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.