IBM Support

How to change relation type from OMCollection to OMList

Question & Answer


Question

How do you change a relation type from OMCollection to OMList in code generated for IBM Rational Rhapsody in C?

Answer

Use the property : CG:Relation:Ordered

  • Checked – generates OMList
  • Unchecked – generated OMCollection

OMCollection Generated:




OMList Generated:


[{"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.1.1;7.5.1;7.5.0.1;7.5;7.4.0.1;7.4;7.3;7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21423617