dcsimg
Different types of class relationship.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sriram_Sundararajan
Posted On:   Tuesday, November 16, 2004 01:32 PM

Am using rational XDE for my design. And in the class diagram there are different types relationship, please explain me the significance of each.


Association

Directed Association

Aggregation Association

Composition Association

Association class

Generalization

Realization

Dependency

Bind

Friend permission

Abstraction

Instantiate

Re: Different types of class relationship.

Posted By:   Anup_Jani  
Posted On:   Thursday, November 18, 2004 07:30 PM

I have just seen XDE once. I found similar to Rose. Though not very confident I can try.


Association: Simplest & safest type of relation you want to still depict between 2 classes (specially when you are not sure exactly which relation at the moment). A--B (it is bi-directional).


Directed Association: (Sorry no idea)


Aggregation Association: Banana--<>Bunch


Composition Association: Wheels--<*>Car


Association class: (Sorry no idea)


Generalization: Inheritance i.e. Son-->Father


Realization: Use-case A --> Use-case A(realized).


Dependency: A depends on B. A-->B (In case A calls some functionality from B).


Bind: (Sorry no idea).
Friend permission (Sorry no idea).


Abstraction: class Clock implements Time interface. Clock-->Time (I guess).


Instantiate: (Sorry no idea).

About | Sitemap | Contact