Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Instation of models - can lower bound for composition relations be used?
Instation of models - can lower bound for composition relations be used? [message #1823613] Mon, 30 March 2020 09:38 Go to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 131
Registered: October 2019
Senior Member
Hi,

I have a metamodel with some composition relations with Lower Bound set to 1 (for example ClassA includes a single child element of ClassB).

Is there a way to tell Sirius implementations to create such compositions automatically when I create the parent element (in the aforementioned case: every time a ClassA element is created, a ClassB element will also be created under it)?

Thanks,
Avi
Re: Instation of models - can lower bound for composition relations be used? [message #1824194 is a reply to message #1823613] Thu, 09 April 2020 10:26 Go to previous messageGo to next message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
Hello Avi,

you can specifiy this in your creation tool of A.

Regards,
Re: Instation of models - can lower bound for composition relations be used? [message #1824340 is a reply to message #1824194] Tue, 14 April 2020 06:53 Go to previous message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 131
Registered: October 2019
Senior Member
so this means the lower bound is not taken into consideration? (it's left for the implementation of element creation, correct?)
Previous Topic:Referring to the container from its subnodes
Next Topic:Transfering a diagram to a service function
Goto Forum:
  


Current Time: Thu Apr 25 15:49:18 GMT 2024

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

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

Back to the top