Once you have imported your IBM® Rational Rose® model
into IBM Rational® Rhapsody® and
separately imported the code for that imported Rational Rose model,
you can merge the operation and function bodies from the imported
code into the corresponding imported Rational Rose model.
About this task
Note: This merging process copies the code from all the operations/functions
in one top-level package to another. The merging process does not
work for operations/functions that might be in subpackages (packages
under a top‑level package). In addition, the destination package must
contain the same class/operation structure as the package that contains
the imported code (though the destination package must have operations/functions
with empty bodies waiting for the imported code).
Procedure
To merge imported code to its corresponding imported Rational Rose model:
- With the imported Rational Rose model
opened in Rational Rhapsody,
choose .
- On the Merge Model and Code window, choose
the code package (the imported code from your Rational Rose model)
from the drop‑down list and the model package (in the imported Rational Rose model)
to which you want the imported code.
- Click Start.
- Notice that a log of the merge progress
prints on the Log tab of the Output window.
Upon successful completion of the merge process, you see the code
for the imported operations/functions in the applicable package in
your imported Rational Rose model.