Question & Answer
Question
Answer
When using arrays of objects like this ,Rhapsody is unable to determine how to initialise the individual associations. So all the associations for the objects in the array get initialised the same. I.e. it assigns the first link to the association and then assigns to the second link to the same association. This is why they both associations show as being initialised to the second link.
You would either need to manually initialise these associations in the user code or explicitly model each instance using discrete objects.
Explicitly modelling large numbers of objects and their associations in Rhapsody diagrams is not really practical. If you have a large number of objects like this, their associations should be initialised in the user code.
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
ibm11119177