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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c28f58ce40333639 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-11 09:08:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!europa.netcrusader.net!4.1.16.34!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!cyclone.swbell.net!nnrp1.sbc.net.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <9b1q2v$s6j4@cui1.lmms.lmco.com> Subject: Re: Ada95 and UML X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Wed, 11 Apr 2001 11:06:38 -0500 NNTP-Posting-Host: 208.191.184.67 X-Complaints-To: abuse@swbell.net X-Trace: nnrp1.sbc.net 987005199 208.191.184.67 (Wed, 11 Apr 2001 11:06:39 CDT) NNTP-Posting-Date: Wed, 11 Apr 2001 11:06:39 CDT Organization: SBC Internet Services Xref: supernews.google.com comp.lang.ada:6770 Date: 2001-04-11T11:06:38-05:00 List-Id: "Joe Simon" 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