Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » inner (nested) classes
inner (nested) classes [message #473342] Wed, 27 February 2008 09:20 Go to next message
Eclipse UserFriend
Originally posted by: marius.lessiak.orf.at

Hi,

When i nest a class inside another class (i.e. to get an inner class) it
shows up as an entry in the "class" compartment in the associated
diagram (see
< http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_is.png>). Is
there any way to have the uml2 visualisation as shown in
< http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png>?

cheers,
marius
Re: inner (nested) classes [message #473345 is a reply to message #473342] Wed, 27 February 2008 11:27 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
----++Omea_Parts_Splitter.251213308075077
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: quoted-printable

Hello=20Marius,

The=20owned=20class=20is=20always=20shown=20as=20a=20label=2 0inside=20'classes'=20compartment=2e=20But=20you=20can=20use =20Composite=20Aggregation=20link=2e=20It=20handles=20requir ed=20to=20you=20semantics=20of=20whole/part=20relationship=2 e=20The=20picture=20how=20your=20example=20with=20MenuBar/Bu tton=20will=20look=20like=20if=20using=20Composite=20Aggrega tion=20is=20in=20the=20file=20attached=2e

To=20create=20Composite=20Aggregation=20use=20Links/Associat ion/Composite=20Aggregation=20palette=20entry=2e

Best=20wishes,
Tatiana=2e


>=20Hi,
>=20
> =20When=20i=20nest=20a=20class=20inside=20another=20class=20 (i=2ee=2e=20to=20get=20an=20inner=20class)
>=20it=20shows=20up=20as=20an=20entry=20in=20the=20"class"=20compartment=20in=20the=20associated
>=20diagram=20(see
>=20< http://stud3=2etuwien=2eac=2eat/~e9926236/e=5fuml2=5finnercl ass=5fis=2epng>)=2e=20Is
> =20there=20any=20way=20to=20have=20the=20uml2=20visualisatio n=20as=20shown=20in
>=20< http://stud3=2etuwien=2eac=2eat/~e9926236/e=5fuml2=5finnercl ass=5fshould=2epng>?
>=20
>=20cheers,
>=20marius

----++Omea_Parts_Splitter.251213308075077
Content-Type: image/x-png; name="MenuBar.PNG"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="MenuBar.PNG"

iVBORw0KGgoAAAANSUhEUgAAA+gAAAFPCAIAAABRR3PMAAAAAXNSR0IArs4c
6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUw
AADqYAAAOpgAABdwnLpRPAAAIpNJREFUeF7t3bGOJFf1B+D9C4QIRmgCJCQQ
EgEBCdLGvAGs7d2AJ+AJHJChtUE2MSEhfgGEFxtvSOIHICP8i8ggIYEQlsGw
DLVTS7m2qrqmuruq7zm3vlXLmum5XXXqO7el31zfrvm/m5ube/4RIECAAAEC
BAgQIBBcoAnu/hEgQIAAAQIECBAgEFzgXvD6lEeAAAECBAgQIECAwPNtMhQI
ECBAgAABAgQIEIgvILjH75EKCRAgQIAAAQIECFhxNwcIECBAgAABAgQIZBCw
4p6hS2okQIAAAQIECBDYvYDgvvspAIAAAQIECBAgQCCDgOCeoUtqJECAAAEC
BAgQ2L2A4L77KQCAAAECBAgQIEAgg4DgnqFLaiRAgAABAgQIENi9gOC++ykA
gAABAgQIECBAIIOA4J6hS2okQIAAAQIECBDYvYDgvvspAIAAAQIECBAgQCCD
gOCeoUtqJECAAAECBAgQ2L2A4L77KQCAAAECBAgQIEAgg4DgnqFLaiRAgAAB
AgQIENi9gOC++ykAgAABAgQIECBAIIOA4J6hS2okQIAAAQIECBDYvYDgvvsp
AIAAAQIECBAgQCCDgOCeoUtqJECAAAECBAgQ2L2A4L77KQCAAAECBAgQIEAg
g4DgnqFLaiRAgAABAgQIENi9gOC++ykAgAABAgQIECBAIIOA4J6hS2okQIAA
AQIECBDYvYDgvvspAIAAAQIECBAgQCCDgOCeoUtqJECAAAECBAgQ2L2A4L77
KQCAAAECBAgQIEAgg4DgnqFLaiRAgAABAgQIENi9gOC++ykAgAABA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AAECBAgQIECAgOBuDhAgQIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI
7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBI
ICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQ
IECAwH8B4ajcoV8ClO0AAAAASUVORK5CYII=
----++Omea_Parts_Splitter.251213308075077--
Re: inner (nested) classes [message #473499 is a reply to message #473345] Fri, 28 March 2008 15:12 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tatiana, Marius,

If I'm not mistaken, the composite aggregation is different from a nested
classifier. A nested classifier does not necessarily have to be part of
the internal structure of its owning parent. Tatiana, in your example,
MenuBar would own a property "dst" of type Button, whereas if one just
showed that Button was a nested classifier then no such property would exist
(necessarily).

Please correct me if I'm wrong.

Cheers,
- James.


"Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
news:6785c52638e68ca47533a2633ab@news.eclipse.org...
Hello Marius,

The owned class is always shown as a label inside 'classes' compartment. But
you can use Composite Aggregation link. It handles required to you semantics
of whole/part relationship. The picture how your example with MenuBar/Button
will look like if using Composite Aggregation is in the file attached.

To create Composite Aggregation use Links/Association/Composite Aggregation
palette entry.

Best wishes,
Tatiana.


> Hi,
>
> When i nest a class inside another class (i.e. to get an inner class)
> it shows up as an entry in the "class" compartment in the associated
> diagram (see
> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_is.png>). Is
> there any way to have the uml2 visualisation as shown in
> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png>?
>
> cheers,
> marius
Re: inner (nested) classes [message #473513 is a reply to message #473499] Thu, 03 April 2008 08:34 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Thank you, James, you are always correct =)

Yes, composite aggregation semantics is close to the semantics of owned property,
not to the semantics of nested classifier.
However, the only representation for the nested classifier I've found in
the UML specification is a label inside parent classifier. Please correct
me if I am wrong.

Marius,
your second picture ( http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png)
looks very like as Composite or Shared Aggregation, which hangles a bit different
from nested classifier semantics.
For more information reference corresponding sections of UML specification.

Cheers,
Tatiana.

> Hi Tatiana, Marius,
>
> If I'm not mistaken, the composite aggregation is different from a
> nested classifier. A nested classifier does not necessarily have to
> be part of the internal structure of its owning parent. Tatiana, in
> your example, MenuBar would own a property "dst" of type Button,
> whereas if one just showed that Button was a nested classifier then no
> such property would exist (necessarily).
>
> Please correct me if I'm wrong.
>
> Cheers,
> - James.
> "Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
> news:6785c52638e68ca47533a2633ab@news.eclipse.org...
> Hello Marius,
> The owned class is always shown as a label inside 'classes'
> compartment. But you can use Composite Aggregation link. It handles
> required to you semantics of whole/part relationship. The picture how
> your example with MenuBar/Button will look like if using Composite
> Aggregation is in the file attached.
>
> To create Composite Aggregation use Links/Association/Composite
> Aggregation palette entry.
>
> Best wishes,
> Tatiana.
>> Hi,
>>
>> When i nest a class inside another class (i.e. to get an inner class)
>> it shows up as an entry in the "class" compartment in the associated
>> diagram (see
>> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_is.png>). Is
>> there any way to have the uml2 visualisation as shown in
>> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png>?
>>
>> cheers,
>> marius
Re: inner (nested) classes [message #618448 is a reply to message #473342] Wed, 27 February 2008 11:27 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
----++Omea_Parts_Splitter.251213308075077
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: quoted-printable

Hello=20Marius,

The=20owned=20class=20is=20always=20shown=20as=20a=20label=2 0inside=20'classes'=20compartment=2e=20But=20you=20can=20use =20Composite=20Aggregation=20link=2e=20It=20handles=20requir ed=20to=20you=20semantics=20of=20whole/part=20relationship=2 e=20The=20picture=20how=20your=20example=20with=20MenuBar/Bu tton=20will=20look=20like=20if=20using=20Composite=20Aggrega tion=20is=20in=20the=20file=20attached=2e

To=20create=20Composite=20Aggregation=20use=20Links/Associat ion/Composite=20Aggregation=20palette=20entry=2e

Best=20wishes,
Tatiana=2e


>=20Hi,
>=20
> =20When=20i=20nest=20a=20class=20inside=20another=20class=20 (i=2ee=2e=20to=20get=20an=20inner=20class)
>=20it=20shows=20up=20as=20an=20entry=20in=20the=20"class"=20compartment=20in=20the=20associated
>=20diagram=20(see
>=20< http://stud3=2etuwien=2eac=2eat/~e9926236/e=5fuml2=5finnercl ass=5fis=2epng>)=2e=20Is
> =20there=20any=20way=20to=20have=20the=20uml2=20visualisatio n=20as=20shown=20in
>=20< http://stud3=2etuwien=2eac=2eat/~e9926236/e=5fuml2=5finnercl ass=5fshould=2epng>?
>=20
>=20cheers,
>=20marius

----++Omea_Parts_Splitter.251213308075077
Content-Type: image/x-png; name="MenuBar.PNG"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="MenuBar.PNG"

iVBORw0KGgoAAAANSUhEUgAAA+gAAAFPCAIAAABRR3PMAAAAAXNSR0IArs4c
6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUw
AADqYAAAOpgAABdwnLpRPAAAIpNJREFUeF7t3bGOJFf1B+D9C4QIRmgCJCQQ
EgEBCdLGvAGs7d2AJ+AJHJChtUE2MSEhfgGEFxtvSOIHICP8i8ggIYEQlsGw
DLVTS7m2qrqmuruq7zm3vlXLmum5XXXqO7el31zfrvm/m5ube/4RIECAAAEC
BAgQIBBcoAnu/hEgQIAAAQIECBAgEFzgXvD6lEeAAAECBAgQIECAwPNtMhQI
ECBAgAABAgQIEIgvILjH75EKCRAgQIAAAQIECFhxNwcIECBAgAABAgQIZBCw
4p6hS2okQIAAAQIECBDYvYDgvvspAIAAAQIECBAgQCCDgOC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DhAg
QIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuC
JimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI
7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBI
ICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQ
IECAgOBuDhAgQIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAg
QIAAgQQCgnuCJimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBIICC4J2iSEgkQ
IECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQIECAgOBuDhAg
QIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuC
JimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBIICC4J2iSEgkQIECAAAECBAgI
7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQIECAgOBuDhAgQIAAAQIECBBI
ICC4J2iSEgkQIECAAAECBAgI7uYAAQIECBAgQIAAgQQCgnuCJimRAAECBAgQ
IECAwH8B4ajcoV8ClO0AAAAASUVORK5CYII=
----++Omea_Parts_Splitter.251213308075077--
Re: inner (nested) classes [message #618650 is a reply to message #473345] Fri, 28 March 2008 15:12 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Tatiana, Marius,

If I'm not mistaken, the composite aggregation is different from a nested
classifier. A nested classifier does not necessarily have to be part of
the internal structure of its owning parent. Tatiana, in your example,
MenuBar would own a property "dst" of type Button, whereas if one just
showed that Button was a nested classifier then no such property would exist
(necessarily).

Please correct me if I'm wrong.

Cheers,
- James.


"Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
news:6785c52638e68ca47533a2633ab@news.eclipse.org...
Hello Marius,

The owned class is always shown as a label inside 'classes' compartment. But
you can use Composite Aggregation link. It handles required to you semantics
of whole/part relationship. The picture how your example with MenuBar/Button
will look like if using Composite Aggregation is in the file attached.

To create Composite Aggregation use Links/Association/Composite Aggregation
palette entry.

Best wishes,
Tatiana.


> Hi,
>
> When i nest a class inside another class (i.e. to get an inner class)
> it shows up as an entry in the "class" compartment in the associated
> diagram (see
> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_is.png>). Is
> there any way to have the uml2 visualisation as shown in
> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png>?
>
> cheers,
> marius
Re: inner (nested) classes [message #619653 is a reply to message #473499] Thu, 03 April 2008 08:34 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Thank you, James, you are always correct =)

Yes, composite aggregation semantics is close to the semantics of owned property,
not to the semantics of nested classifier.
However, the only representation for the nested classifier I've found in
the UML specification is a label inside parent classifier. Please correct
me if I am wrong.

Marius,
your second picture ( http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png)
looks very like as Composite or Shared Aggregation, which hangles a bit different
from nested classifier semantics.
For more information reference corresponding sections of UML specification.

Cheers,
Tatiana.

> Hi Tatiana, Marius,
>
> If I'm not mistaken, the composite aggregation is different from a
> nested classifier. A nested classifier does not necessarily have to
> be part of the internal structure of its owning parent. Tatiana, in
> your example, MenuBar would own a property "dst" of type Button,
> whereas if one just showed that Button was a nested classifier then no
> such property would exist (necessarily).
>
> Please correct me if I'm wrong.
>
> Cheers,
> - James.
> "Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
> news:6785c52638e68ca47533a2633ab@news.eclipse.org...
> Hello Marius,
> The owned class is always shown as a label inside 'classes'
> compartment. But you can use Composite Aggregation link. It handles
> required to you semantics of whole/part relationship. The picture how
> your example with MenuBar/Button will look like if using Composite
> Aggregation is in the file attached.
>
> To create Composite Aggregation use Links/Association/Composite
> Aggregation palette entry.
>
> Best wishes,
> Tatiana.
>> Hi,
>>
>> When i nest a class inside another class (i.e. to get an inner class)
>> it shows up as an entry in the "class" compartment in the associated
>> diagram (see
>> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_is.png>). Is
>> there any way to have the uml2 visualisation as shown in
>> < http://stud3.tuwien.ac.at/~e9926236/e_uml2_innerclass_should .png>?
>>
>> cheers,
>> marius
Previous Topic:Extension UML2
Next Topic:Use profile UML
Goto Forum:
  


Current Time: Sat Nov 22 10:42:30 GMT 2014

Powered by FUDForum. Page generated in 0.02842 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software