From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,9e75f9dfb61221d7 X-Google-Attributes: gid103376,public From: Peter Lindgren Subject: Re: ADA 95 Child Packages and UML Date: 1999/10/28 Message-ID: <38186F74.2132D653@emw.ericsson.se>#1/1 X-Deja-AN: 541678102 Content-Transfer-Encoding: 8bit References: <381077D9.46ACA4E9@emw.ericsson.se> <38132103.380DA624@club-internet.fr> <7v27ic$1th$1@nntp3.atl.mindspring.net> X-Accept-Language: en, en-US, en-GB, es-ES, sv, es-CO, es Content-Type: text/plain; charset=iso-8859-1 X-Trace: news.emw.ericsson.se 941125498 136.225.157.223 (Thu, 28 Oct 1999 17:44:58 MET DST) Organization: Ericsson Microwave Systems AB MIME-Version: 1.0 NNTP-Posting-Date: Thu, 28 Oct 1999 17:44:58 MET DST Newsgroups: comp.lang.ada Date: 1999-10-28T00:00:00+00:00 List-Id: Richard D Riehle wrote: > > In article <38132103.380DA624@club-internet.fr>, > Philippe Dalleau 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 <>. 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 --