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-7-bit X-Google-Thread: 103376,3681542c80ddf9f2 X-Google-Attributes: gid103376,public From: Tucker Taft Subject: Re: Ada 95 and UML. Date: 2000/01/20 Message-ID: <38875EE6.6D987700@averstar.com>#1/1 X-Deja-AN: 575381961 Content-Transfer-Encoding: 7bit References: <867dh2$ceh$1@news1.skynet.be> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@inmet2.burl.averstar.com X-Trace: inmet2.burl.averstar.com 948395750 4082 141.199.8.164 (20 Jan 2000 19:15:50 GMT) Organization: AverStar (formerly Intermetrics) Burlington, MA USA Mime-Version: 1.0 NNTP-Posting-Date: 20 Jan 2000 19:15:50 GMT Newsgroups: comp.lang.ada Date: 2000-01-20T19:15:50+00:00 List-Id: Skynet News wrote: > > Looking for information about how to describe an Ada95 program using UML as > a (delailed) design language. > Before I've used Buhr diagrams, and with them is straight forward to move to > the code because you have icons representing tasks, packages, entry points > to tasks and so on. Now with the UML diagrams: how do I tranlate a class to > Ada 95 structure? In general, a UML class becomes an Ada type. If the class will have subclasses, then the Ada type should be a "tagged" type. The non-static methods of the class are the primitive operations of the Ada type. The static methods are the non-primitive operations declared in the enclosing package. If all the methods of the class are static, then you don't need the "type"; just a package will do. > > Please HELP!!!! > > J. Morcate > jmorcate@computer.org -- -Tucker Taft stt@averstar.com http://www.averstar.com/~stt/ Technical Director, Distributed IT Solutions (www.averstar.com/tools) AverStar (formerly Intermetrics, Inc.) Burlington, MA USA