Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » [Papyrus] isComposite is true per default?
[Papyrus] isComposite is true per default? [message #644114] Thu, 09 December 2010 15:20 Go to next message
Tom Brandenburg is currently offline Tom BrandenburgFriend
Messages: 58
Registered: October 2010
Location: Abstatt, Germany
Member
Hello,

I encountered following inconsistency with UML spec 2.3 in Papyrus:

When I add a property to a class or interface (in general Classifier) the property isComposite is set to "true" and aggregation to "composite" per default. If one consults the UML infrastructure 2.3 one can read that isComposite's default value is false. And I also wonder why a simple attribute of a class should be a part of a composition.

Does anyone has an explanation of that behaviour?

Thanks in advance and best regards
Tom

[Updated on: Thu, 09 December 2010 15:21]

Report message to a moderator

Re: [Papyrus] isComposite is true per default? [message #644538 is a reply to message #644114] Mon, 13 December 2010 07:31 Go to previous message
Eclipse UserFriend
Originally posted by: r.zozmann.exxcellent.de

Hi Tom,

you should ask questions to papyrus in the 'eclipse.papyrus' group...
If your 'composite' is a navigable association then the creation of a
class attribute (property) as one of the ends is common behaviour for
uml2, also in the UML2Tools.

Regards
Ralf

Am 09.12.2010 16:20, schrieb Tom Brandenburg:
> Hello,
>
> I encountered following inconsistency with UML spec 2.3 in Papyrus:
>
> When I add a property to a class or interface (in general Classifier)
> the property isComposite is set to "true" and aggregation to "composite"
> per default. If one consults the UML infrastructure 2.3 one can read
> that isComposite's default value is false. And I also wonder why a
> simple class attribute is part of a composition.
>
> Does anyone has an explanation of that behaviour?
>
> Thanks in advance and best regards
> Tom
Previous Topic:Drag and drop
Next Topic:apply stereotpe programmaticaly
Goto Forum:
  


Current Time: Fri Dec 19 16:40:29 GMT 2014

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

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