From: Peter Lindgren <peter.lindgren@emw.ericsson.se>
Subject: Re: ADA 95 Child Packages and UML
Date: 1999/10/28
Date: 1999-10-28T00:00:00+00:00 [thread overview]
Message-ID: <38186F74.2132D653@emw.ericsson.se> (raw)
In-Reply-To: 7v27ic$1th$1@nntp3.atl.mindspring.net
Richard D Riehle wrote:
>
> In article <38132103.380DA624@club-internet.fr>,
> Philippe Dalleau <phda@club-internet.fr> wrote:
>
> >Peter Lindgren wrote:
> >>
> >> Hello!
> >> How do I model Ada95 child packages in UML?
> >> Is it possible at all?
> >
> >Sure but it depends a lot on the UML tool you choose.
> >With Rational Rose/Ada 95 : via a class or a component whose name
> >follows the rule : identifier.{identifier}.
I guess you have a dependency from the child to the parent
___ ___
| P |<------| C |
--- ---
if the child uses its parent (as it often does).
However, I see it also as some kind of inheritance, but static
and private, with no overloading. Strange but very useful.
I would suggest that the dependency is stereotyped as <<Child unit>>.
Anybody to disagree?
> No. It is not possible to correctly model child library units
> in UML. There is a workaround, as described above, but it is
> something of a kludge.
[snip]
> In its defense, UML is a modeling tool. Asking a question such
> as "Can I model xxxx in UML," is a lot like asking, "Can I program
> the cache in C++ (or Ada)?"
I do not agree here. My question is legimite, since you (can) do
detailed modelling in UML, not just stick to the analysis model.
However, that is a different thread I not intend to start due to
lack of time... :-(
/Peter
--
-- Peter Lindgren Design Engineer Ericsson Microwave Systems AB --
-- http://www.ericsson.se/microwave M�lndal ECN 865 70503 --
-- ERIEYE Airborne Early Warning System Get your own AWACS! --
-- Opinions above - expressed or implicit - are strictly personal --
prev parent reply other threads:[~1999-10-28 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-22 0:00 ADA 95 Child Packages and UML Peter Lindgren
1999-10-24 0:00 ` Philippe Dalleau
1999-10-25 0:00 ` Richard D Riehle
1999-10-28 0:00 ` Peter Lindgren [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox