Question & Answer
Question
How do you initialize an object having multiplicity with a unique ID in IBM Rational Rhapsody?
Cause
You would like to have different values for varied instances of a class
Answer
You can achieve this requirement by initializing the object with a variable such as Var
![](/support/pages/system/files/support/swg/rattech.nsf/0/5d6a733665a3344f85257c01003b41e3/Content/0.15A.gif)
Note: Define the variable in the same class.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6.1.1;7.6.1.2;7.6.1.3;7.6.1.4;8.0;8.0.1;8.0.2;8.0.3;8.0.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21652574