I was wondering how associations, dependencies and such relationships are inherited in UML (or, say, in general). So in this situation:
ββββββββββββ ββββββββββββ
β ClassA β β ClassB β
ββββββββββββ€ ββββββββββββ€
β ββββββββββ"One kind of relation"ββββββββ>β β
ββββββββββββ€ ββββββββββββ€
β β β β
ββββββββββββ ββββββββββββ
^
/β¬\
β
β
β
β
βββββββ΄βββββ
β ClassC β
ββββββββββββ€
β β
ββββββββββββ€
β β
ββββββββββββ
Note:
- ClassA-ClassC is in relation to generalization, the arrow must be solid.
- ClassA-ClassB is in one of [dependency, association, aggregation, composition]
- Unicode is cool, but with an editor font it looks much better :)
My question is: how are these relationships inherited? For example, when ClassA depends on ClassB, will ClassC depend on ClassB? and etc.
Thank.
source
share