comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@classwide.com>
Subject: Re: Ada95 and UML
Date: Wed, 11 Apr 2001 11:06:38 -0500
Date: 2001-04-11T11:06:38-05:00	[thread overview]
Message-ID: <ji%A6.9$bU3.618@nnrp1.sbc.net> (raw)
In-Reply-To: 9b1q2v$s6j4@cui1.lmms.lmco.com

"Joe Simon" <jb.simon@lmco.com> wrote in message
news:9b1q2v$s6j4@cui1.lmms.lmco.com...
> we are currently working on defining standards for doing OO development
> using UML with Ada 95 as the target implementation language. We are
looking
> at the broad scope and we will then concentrate on real-time embedded and
> safettyy critical projects (i.e. are there any UML type constructs that we
> want to avoid for RT - Safety Critical).

That will be interesting.  Are you going to make the conclusions public?

> I am attempting to acertain what the implications are in using UML with
> Ada95 (The UML development tool we are using as of now is Telelogic Tau,
it
> generates each object as a separate package with only one type, making it
> difficult to use Ada the way we are used to).

There's no "rule" per se, but that is what I would consider the normal
default.  Certainly one will have ancillary types in the same package, but
they would be in support of the "primary" abstraction represented by the UML
object.  Occasionally one will want to have multiple tagged types in the
same package -- that is indeed an advantage over class-oriented languages
:-) -- but more typically not.  Somethimes that will happen because they are
directly related as one abstraction, and sometimes simply because one is
derived from another in the same package.

Ada is founded on the concept of Abstract Data Types, including the OOP
facilities.  A design that places multiple *unrelated* tagged types in the
same package is contrary to that concept.

> Any thoughts on this subject would be greatly appreciated.

Just IMHO.

---
Patrick Rogers                       Consulting and Training in:
http://www.classwide.com        Real-Time/OO Languages
progers@classwide.com          Hard Deadline Schedulability Analysis
(281)648-3165                          Software Fault Tolerance





  parent reply	other threads:[~2001-04-11 16:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-11 14:35 Ada95 and UML Joe Simon
2001-04-11 15:54 ` Ted Dennison
2001-04-11 16:15   ` Marin David Condic
2001-04-11 17:16   ` Pat Rogers
2001-04-11 16:06 ` Pat Rogers [this message]
2001-04-12 10:24   ` John Robinson
2001-04-12 17:46     ` Dirk Craeynest
2001-04-12  7:20 ` Martin Dowie
2001-04-12 10:50   ` Peter Amey
2001-04-12 11:22     ` Martin Dowie
2001-04-13  6:49 ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2001-04-19 18:25 ada95 and uml "Riehle, Richard"
2001-04-21  1:58 ` Robert C. Leif, Ph.D.
2001-04-21 11:39   ` Simon Wright
2001-04-23 12:43     ` Marc A. Criley
2001-04-23  3:45 ` Robert Palasek
2001-04-23  5:50   ` Simon Wright
2001-04-24 13:53     ` Robert Palasek
2001-04-25  3:54       ` Ada95 and UML Robert C. Leif, Ph.D.
2001-04-26 19:46         ` Simon Wright
2001-04-25 13:16     ` ada95 and uml Ken Garlington
2001-04-25 13:48       ` Ted Dennison
2001-05-06 22:03     ` Peter Dencker
2001-04-23 12:03   ` Martin Dowie
2001-04-23 12:36     ` Ken Garlington
2001-04-23 13:34       ` Martin Dowie
2001-05-11 13:10 ` Mark T
replies disabled

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