IBM Support

IBM Rational Rhapsody warning: Link will not be instantiated - ill-formed link across composite boundaries

Troubleshooting


Problem

I am getting the following warning message for links between objects in my model in IBM Rational Rhapsody: Warning: Link will not be instantiated - ill-formed link across composite boundaries Why am I getting this message and what does it mean?

Symptom

Warning message: Link will not be instantiated - ill-formed link across composite boundaries

Resolving The Problem

In a composite relationship, the whole is responsible for the creation of its parts and the initialization of the links between the parts. However, if the parts exits across composite boundaries (if the parts are owned by different classes) -- then who is responsible for the initialization? There are many different possibilities.

For this reason, Rational Rhapsody issues this warning and the code generator will not generate the link. It needs to be added programmatically. The initialization code could be added to the owning package or one of the composites.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.6","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10429

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323720