How to model an inferred relationship

It is good practice to create a separate package to accommodate these relationships.

The following steps describe how to create a separate package for an inferred relationship.
  1. In the Project Explorer, right-click the model and select Add UML > Package.
  2. Enter a name for the new package. For example, ObjType Relationships.
  3. Add a class object and apply the <<PMP_ObjTyprRel>> stereotype.
  4. On the Properties page, set the Name(Type) and Sub Type.
  5. Repeat the previous steps for another object type.
  6. Add a directed relationship between the two and apply the <<PMP_Relation>> stereotype.
  7. Use the Role fields to add the category and key Category,Key.
The following figure shows an example of the Project Explorer user interface for this scenario.
ObjType Relationship
For this example, the extractor produces the following upsert statement:
   CALL  UPSERT_OBJTYPEREL (
   'FTM Sample App',
   '1.0.1',
   'TRANSMISSION', -- Object 1 Name(Type)
   'PAYMENT_ACK', -- Object 1 SubType
   'CSM',  -- Object 1 Category
   'TransactionId', -- Object 1 Key
   'TRANSMISSION', -- Object 2 Name(Type)
   'PAY_ORIG', -- Object 2 SubType
   'CSM', -- Object 2 Category
   'OriginalTransactionId', -- Object 2 Key
   'Contains', 
   'N', 
   'SCRIPT:ConfigData_output_FTM Sample App_20200401_190452.txt'
   );