Question & Answer
Question
How do you use multiplicities with SysML1.2 standard ports in IBM Rational Rhapsody?
Cause
This is not documented elsewhere.
Answer
Multiplicities works in a similar way for SysML1.2 standard ports as it does with UML standard ports. Rhapsody still uses the OPORT_AT (=OUT_PORT_AT) macro. You have two options:
- Add a send action and Rhapsody will automatically generate the correct macro OPORT_AT with the index you specified.
or,
- Add the OPORT_AT macro manually to the statechart. For Rhapsody in C, this macro is not supported thus you don't see Index field on the Feature window.
The usage of these two options are shown in the following image:
An example project is attached.
[{"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.6;7.6.0.1;7.6.1;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;8.0.5;8.0.6;8.1;8.1.1;8.1.2;8.1.2.1","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
swg21959822