Resources » .NET programming » .NET Framework

Association and Generalization of UML


Posted Date: 11-Feb-2009  Last Updated:   Category: .NET Framework    
Author: Member Level: Gold    Points: 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


Did you like this resource? Share it with your friends and show your love!

Responses to "Association and Generalization of UML"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Submit Article     Return to Article Index

    Subscribe to Subscribers
    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Pawan Awasthi
    More...
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India