Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Recent Topics
Advanced Search
one-to-many and aggregation  
Forum Index -> UML Questions
Author Message
pradeep


Joined: 2008/03/28
Messages: 1

Offline

I am having difficulty in undersand the difference between one-to-many association between two classes aggregation relationship betweeen two classes. Are they same? Can they overlap?

thanks
 
LilianWong


Joined: 2008/02/22
Messages: 278

Offline

Hi pradeep,

Thanks for your post. In fact, they are not the same.
One-to-many association does not specify the characteristics of the relationship while aggregation does.
Aggregation is the part-of relationship. It's like saying that a car has an engine and wheels as its part.

I hope this explanation can help. If you have any further inquiries, please feel free to ask.

Best regards,
Lilian Wong
 
Anonymous

Hi Wong,

If I have understood you well, then it means that if a PERSON has one-to many relationship with ADDRESS then, a PERSON's characteristic is not defined or identified by ADDRESS. So A PERSON is not an aggregation of ADDRESS while a PERSON has one-to-many relationship with ADDRESS.

Thanks for the explanation.

-pradeep
 
LilianWong


Joined: 2008/02/22
Messages: 278

Offline

Hi pradeep,

Actually, aggregation specifies the characteristics of the relationship between two classes, but it is not necessary to be one-to-many relationship.

Will it be more clear? If there are any inquiries, please feel free to ask.

Best regards,
Lilian Wong
 
Guruli


Joined: 2007/08/15
Messages: 7

Offline

Hi pradeep,

The easiest way to remember aggregation ist, that it shows "has-a " relationship. It can be one-one, one-many or any other relationships.

Assiziation just defines, that classes have relationship.

I hope it will help.


 
Anonymous

6xm278f-s0qas42-tw6q992d-0 http://online-gambling-mo.lookera.net#1
<a href="http://urlser.com/?3kTmj#2">auto insurance quotes|cheap auto insurance|free online auto insurance quotes|auto insurance quotes|car insurance|car insurance quotes|auto insurance quotes|cheap auto insurance|free online auto insurance quotes|auto insurance quotes</a>
progressive insurance|insurance quotes|allstate insurance|progressive insurance|automobile insurance|renters insurance|progressive insurance|insurance online|insurance rates|progressive insurance|progressive insurance|allstate insurance
http://online-poker-mo.lookera.net#4
[http://urlser.com/?xFj4E#5 insurance|progressive insurance|allstate insurance|insurance|automobile insurance|renters insurance|insurance|insurance online|insurance rates|insurance|progressive insurance|allstate insurance|insurance|automobile insurance|renters insurance]
"progressive insurance|insurance quotes|allstate insurance|progressive insurance|automobile insurance|renters insurance|progressive insurance|insurance online|insurance rates|progressive insurance|progressive insurance|allstate insurance":http://urlser.com/?5Nnno#6
[LINK http://online-poker-mo.lookera.net#7]online poker|texas holdem|free poker|online poker|texas holdem|online poker|online poker|poker games|poker tables[/LINK]
 
Anonymous

gi309g7-xcwiydk-tw6qfa0c-0 <a href="http://urlser.com/?e64r6#2">car insurance|car insurance quotes|auto insurance quotes|car insurance|free online auto insurance quotes|cheap car insurance|car insurance|car insurance|car insurance quotes|car insurance|cheap auto insurance|free online auto insurance quotes</a>
http://urlser.com/?xFj4E#1
gambling|online casino gambling|internet casino gambling|gambling|casino games|online casino|gambling|casino|casinos|gambling|casino games|free casino games|gambling|online gambling|best online casino|gambling|free casino
http://texas-holdem-mo.lookera.net#4
[http://urlser.com/?IQpnn#5 car insurance quotes|free car insurance quotes online|instant car insurance quotes|car insurance quotes|cheap car insurance|car insurance|car insurance quotes|auto insurance quotes|cheap auto insurance|car insurance quotes|cheap car insurance]
"insurance quotes|auto insurance quotes|free online auto insurance quotes|insurance quotes|life insurance quotes|insurance quotes|insurance quotes|allstate insurance|insurance quote|insurance quotes|renters insurance|online insurance quotes":http://urlser.com/?DYEVZ#6
[LINK http://urlser.com/?e64r6#7]car insurance|car insurance quotes|auto insurance quotes|car insurance|free online auto insurance quotes|cheap car insurance|car insurance|car insurance|car insurance quotes|car insurance|cheap auto insurance|free online auto insurance quotes[/LINK]
 
Anonymous

vu7uuze-qhos7ce-tw6qdb63-0 http://online-casino-gambling-mo.lookera.net#1
<a href="http://best-online-casino-mo.lookera.net#2">best online casino|casino games|online casino|best online casino|online casino gambling|free casino|best online casino|no deposit casinos|casino|best online casino|online casinos|casino games|best online casino|gambling|online gambling</a>
cheap auto insurance|really cheap auto insurance|auto insurance quotes|cheap auto insurance|cheap car insurance|car insurance|cheap auto insurance|auto insurance quotes|cheap auto insurance|cheap auto insurance|cheap car insurance
http://urlser.com/?boo2X#4
[http://free-poker-mo.lookera.net#5 free poker|texas holdem|online poker|free poker|texas holdem|online poker|free poker|poker games|poker tables]
"progressive insurance|insurance quotes|allstate insurance|progressive insurance|automobile insurance|renters insurance|progressive insurance|insurance online|insurance rates|progressive insurance|progressive insurance|allstate insurance":http://urlser.com/?5Nnno#6
[LINK http://roulette-mo.lookera.net#7]roulette|online roulette game|play roulette|roulette|online roulette|online roulette game|roulette|casino roulette[/LINK]
 
 
   Forum Index -> UML Questions
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil