Reply To: connecting parameters on interfaces with parameters in OAL

homepage Forums BridgePoint/xtUML Usage and Training connecting parameters on interfaces with parameters in OAL Reply To: connecting parameters on interfaces with parameters in OAL

#1087
cort
Keymaster

Thanks, Anders.
The method I used is similar. In the MC model, there is only PARM and not many flavors. So, during initial translation, these PARM instances are created and linked to *PARM.
Also during initial translation PAR instances are created and linked to V_PAR.
A little bit later, the PARM instances are ordered (by reflexive association) into the correct sequence as defined by the action to which they are connected (operation, function, message, etc). At this time, the traversal is made from PARM to PAR, and the order (as an integer) is copied from PARM to PAR.
When the OAL is translated and the PARs are output in the order dictated by the PARMs.