Re: How to express conditional dependency between components in UML?



kirkk wrote:
> A component diagram is a static diagram. This translates into design
> time or compile time relationships. Since there is no compile time
> relationship between CompA and CompB, this wouldn't be represented on a
> component diagram. That's why there is no good way to represent it.

I have a question regarding the compile time relationships.

As per my understanding, when class A inherits class B OR
class A calls methods of class B, there exists a
compile time relationship between A and B.

Here, the CompA instantiates a class from CompB and it may call some
methods of that class. So, can we say there is a compile time
relationship between CompA and CompB?

Thanks,
Shesh

.



Relevant Pages