|
Re: Subnode of Container [message #1786857 is a reply to message #1786856] |
Mon, 14 May 2018 12:26 |
|
Hello,
In your Node Creation Tool "createSub" you will need to add a conditions on the "container" variable type, if the "container" variable is a MainTitle (container.oclIsKindOf(MainTitle) then in the CreateInstance operation the reference name will be "subtitles".
Are you sure about the part where you can create subtitles on your platform and then connect them on a MainTitle? That leaves you with a step where a subtitle as no main title and force you to handle the container type when creating a subtitles.
It would be simpler if the node mapping for Subtitles would be only contained in a MainTitle. Furthermore, do you really need a difference between MainTitle and Subtitle? If you only have a Title concept that is self contained it is even easier to set both the container mapping and the container creation tool.
Regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.01864 seconds