Modeling Inner Classes

Mark Fortner <[email protected]> Tue, 30 Aug 2011 18:36:54 -0700
Newsgroups gmane.comp.lang.uml.argouml.user
Message-ID <CAOwy01uhyX0zLUE=zESdr70th-2ScC0HGUXSJPWt=1RzUoyk8A@mail.gmail.com>
------=_Part_14064_1368705465.1314754617712
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I was trying to model an inner class recently and had some questions:


   1. According to the documentation, you should be able to click on the
   container class and click the inner class button, and an inner class should
   be created.  But there is no inner class button.
   2. There is an "owned elements" pane, and I was able to create an inner
   class there.  It shows up in the explorer.  I add the inner class to the
   diagram but there's no connection between the two classes.
   3. If I add an composition (either type of composition will do), then I
   end up with a non-generic Vector ("who uses Vector's anymore?") of my inner
   class.
   4. If I add an aggregation I end up with the same results.

So my question is, what is the correct way of representing an inner class?
 I've looked through past conversations and the documentation, and I don't
see any hints about this.

Mark

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2833212

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_14064_1368705465.1314754617712
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I was trying to model an inner class recently and had some questions:
<div><br></div><div><ol><li>According to the documentation, you should be a=
ble to click on the container class and click the inner class button, and a=
n inner class should be created. =A0But there is no inner class button.</li=
>
<li>There is an &quot;owned elements&quot; pane, and I was able to create a=
n inner class there. =A0It shows up in the explorer. =A0I add the inner cla=
ss to the diagram but there&#39;s no connection between the two classes.</l=
i>
<li>If I add an composition (either type of composition will do), then I en=
d up with a non-generic Vector (&quot;who uses Vector&#39;s anymore?&quot;)=
 of my inner class.</li><li>If I add an aggregation I end up with the same =
results.</li>
</ol><div>So my question is, what is the correct way of representing an inn=
er class? =A0I&#39;ve looked through past conversations and the documentati=
on, and I don&#39;t see any hints about this.</div></div><div><br></div><di=
v>
Mark</div>

------=_Part_14064_1368705465.1314754617712--