UML Relationship
Recently I came across a great article about class relationship in UML language:
Here are some notes I have taken
Dependency:

Capture
d’écran effectuée : 26/02/2016 09:50
·
Class A uses class B but A does not contain an
instance of class B;
·
If B's interface changes, class A is required to
change as well;
Association:

Capture
d’écran effectuée : 26/02/2016 09:54
·
Stronger dependency :
A1 uses and contains instance of B1
·
Two sub-relations:
o
Aggregation: the instance of B1 is shared;
o
Composition: the instance of B1 is not shared.
Generalization:

Capture
d’écran effectuée : 26/02/2016 10:00
Extends/inheritance
Realization:

Capture
d’écran effectuée : 26/02/2016 10:01
Interface/implement
Comments
Post a Comment