Question & Answer
Question
The model is comprised of the following relations. Note, ModuleA and ModuleB are using aggregations.
![image 7883](/support/pages/system/files/inline-images/image_7883.png)
This results in the following error when code generation is attempted:
Warning: Link will not be instantiated - ill-formed link across composite boundaries
in Package: Default
in Block: BlockA
connector: BlockA-BlockB
Answer
Aggregation implies that the child (ModuleA/ModuleB) can exist without the composite parent (BlockA/BlockB).
Since the links are created by the composite instance, Rhapsody does not allow aggregation associations in this case.
You must redraw the relations using Compositions:
![image 7882](/support/pages/system/files/inline-images/image_7882.png)
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjYVAA0","label":"Rhapsody->Profiles->UML"}],"ARM Case Number":"TS004752314","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
ibm16406312