C# Tutorials and offshore development in India
    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



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

Association and Generalization of UML


Posted Date: 11 Feb 2009    Resource Type: Articles    Category: .NET Framework
Author: ShankarMember Level: Diamond    
Rating: 1 out of 5Points: 20



This Article explains about the other relationships of UML like
Association and Generalization

Generalization
---

The child is derived/based on the parent. The child will hold the properties of the parent. The properties, methods for these objects, their access modifiers like Public, Protected, Private will also be derived by the parent.

Example
----
The Shape is the parent object. It is derived by Square and Circle objects.

The Person is the parent object. It is derived by Student, Employee, Employer objects

Association
----

This explains about the relationship between the objects. This explains how the objects link to each other and how they communicate with each other and how the messages are transfer between the objects. This also represents the one to many and many to one relationships.

0..* - zero or more
1..* - one or more

Example
---
Bank is associated with customer. There will be more than one customer. But a customer will have only one account number. This customer will have one or more cheque books at a time




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  .  Relationships  .  Generalization  .  Association  .  

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: Regular Expressions
Previous Resource: What is Classic ASP?
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use