How to express conditional dependency between components in UML?
- From: "Petri J. Riipinen" <petri.riipinen.invalid@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 May 2005 21:30:24 +0300
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 .
- Follow-Ups:
- Re: How to express conditional dependency between components in UML?
- From: kirkk
- Re: How to express conditional dependency between components in UML?
- From: H. S. Lahman
- Re: How to express conditional dependency between components in UML?
- From: iamfractal
- Re: How to express conditional dependency between components in UML?
- From: Antonio Santiago
- Re: How to express conditional dependency between components in UML?
- Prev by Date: Re: XMI
- Next by Date: Re: Full life cycle development
- Previous by thread: XMI
- Next by thread: Re: How to express conditional dependency between components in UML?
- Index(es):
Relevant Pages
|