Question & Answer
Question
How do you draw an aggregation relation from a class within a package to a class within a referenced package in IBM Rational Rhapsody?
Cause
You would want to create an Object Model Diagram (OMD) show casing an aggregation between a Normal class to a Referenced class since by default it is not possible to draw an aggregation between a normal class and a Referenced class in Rational Rhapsody as aggregation is bidirectional
Answer
In order to draw an aggregation between a Normal class to a Referenced class you would need to load the referenced class or package as a unit to make it Read/Write.
However, if you desire to draw an unidirectional relation (aggregation) between the normal class and the Referenced class, you can achieve the same by drawing a Directed association between the two classes. Additionally, you would need to set the value of Aggregation Kind as Shared as shown below:
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21433875