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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4c17e6ae73bd8c51,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Ada and UML Date: Tue, 31 Aug 2010 12:12:43 +0200 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: phGk+NigveeXIQAZXtx21g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13867 Date: 2010-08-31T12:12:43+02:00 List-Id: Hi all, A few days ago I get to have a look back at UML after a topic linking to= = an assessment stating graphical representations may help in = design/application validation. Someone argued there is a lack of semanti= c = with UML which dismiss its usage ; one topic I agree on, and after some = = reading to be sure, it seems indeed, there does not have a clearly defin= ed = semantic (*) Another topic I oftenly read/heard about Ada and UML, is that it is too = = much oriented toward Java/C++, lacking as an example, handling of class = = and package orthogonality which is typical of Ada. I've just discovered today it seems there is a kind of package visibilit= y = with UML expression of classes, which could match Ada concept of package= : = the visibility modifier =E2=80=9C~=E2=80=9D (the Tilde sign) which seems= to means =E2=80=9CPrivate = at package level=E2=80=9D. This should be sufficient for Ada. Neverthele= ss, there = is nothing like =E2=80=9Cfriend=E2=80=9D or =E2=80=9Cprotected=E2=80=9D = in Ada, as visibility is only = handled by packages, so this visibility modifiers could just be = disallowed. Do you think =E2=80=9C~=E2=80=9D is OK to express visibility= handled by = packages ? For you who tried Ada and UML, did you noticed some others unsolvable = matters to express Ada package in UML ? (*) TBH, some peoples with interests in UML was aware of that, started = some research on 1997 to draw a formal definition of the UML semantic, b= ut = any research in that area seemed to end on 2004, without any successful = = completion. P.S. As the purpose of UML is clearly underspecification, may be the = question of this thread does not really matters, as Ada is acting at = implementation level.