|
Re: Subnode of Container [message #1786857 is a reply to message #1786856] |
Mon, 14 May 2018 08:26  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03807 seconds