comp.lang.ada
 help / color / mirror / Atom feed
From: Tucker Taft <stt@averstar.com>
Subject: Re: Ada 95 and UML.
Date: 2000/01/20
Date: 2000-01-20T19:15:50+00:00	[thread overview]
Message-ID: <38875EE6.6D987700@averstar.com> (raw)
In-Reply-To: 867dh2$ceh$1@news1.skynet.be

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




  reply	other threads:[~2000-01-20  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-20  0:00 Ada 95 and UML Skynet News
2000-01-20  0:00 ` Tucker Taft [this message]
2000-01-27  0:00 ` Peter Dencker
2000-01-28  0:00   ` Richard D Riehle
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox