Re: How to express conditional dependency between components in UML?
- From: iamfractal@xxxxxxxxxxx
- Date: 27 May 2005 03:27:50 -0700
Petri J. Riipinen wrote:
> Hi folks,
>
> How would one express a conditional dependency between two components in
> UML (2.0) component diagram?
>
> This is the situation: Component A (an executable) uses Component B (a
> DLL) by dynamically instantiating a class from it but only if certain
> programmatic parameter, PAR1, is set to value TRUE. The value of the
> parameter is stored into an .ini-file that is read by Component A on
> startup. If PAR1 is FALSE or missing, Component A doesn't need Component
> B at all. There is no static reference from Component A to Component B,
> everything is done dynamically.
>
> Currently I just draw a dependency-link from Component A to Component B,
> but that doesn't exactly describe the conditional nature of the dependency.
>
> Is there any guideline how to do this in UML or should I just use a note
> and explain the issue in the note?
>
> - Pete
Hi!
I'm no UML-guru, but it would seem odd to have to have to draw a
different diagram of an appliation each time that application was run
in a different configuration.
..ed
www.EdmundKirwan.com - Home of The Fractal Class Composition.
.
- References:
- How to express conditional dependency between components in UML?
- From: Petri J. Riipinen
- How to express conditional dependency between components in UML?
- Prev by Date: Re: Types of constructors
- Next by Date: Re: Dated info: Mentor acquires Project Technology
- Previous by thread: Re: How to express conditional dependency between components in UML?
- Next by thread: Re: How to express conditional dependency between components in UML?
- Index(es):
Relevant Pages
|