Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Ankur
(100)
Avinash Mohan
(100)
Pawan
(80)
Last 7 Days
Alwyn
(739)
nishithraj
(512)
Ankur
(449)
more...
Resources
»
Articles
»
.NET Framework
»
Composition and Aggregation in UML
Posted Date: 11 Feb 2009
Resource Type:
Articles
Category:
.NET Framework
Author:
Shankar
Member Level:
Diamond
Rating:
Points
: 20
Aggregation
------
The Parent and the child objects in aggregation ‘has a’ relationship. The data flow from the parent to the child. But the child can exist without the parent.
This is represented with a unfilled Diamond pointing towards the parent.
The child will have an arrow that mention that the child does not know about the parent.
Example
----
A Person must have address. But the address object may be related to other objects also.
Composition
---
The Parent contains the child object. The parent is made up of certain objects. The child cannot exist without the parent. The child will be associated to only one parent. This relation ship is Child is a ‘part of’ parent.
This is represented with a filled Diamond pointing towards the parent.
Example
----
Like a Circle contains Points. Points do not know about the Circle. So if a circle is destroyed then points also.
A Car and its Engine. The Engine cannot exist without the Car.
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
to add tags.
UML
.
Composition
.
Aggregation
.
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
Using Conversion Operators
Previous Resource:
Regular Expressions
Return to Discussion Resource Index
Post New Resource
Category:
.NET Framework
Post resources and
earn money
!
More Resources
Using Conversion Operators
Introduction to LINQ-- Anonymous Types
Introduction of LINQ to SQL.
Introduction to LINQ
LINQ QUerry : A Step Ahead Series
Encrypting Sections in Web.config File
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use