Synchronizing your Rational Rhapsody and Rational Statemate models

The StatemateBlock operates as a black-box for IBM® Rational® Statemate® code within the IBM Rational Rhapsody® architecture once it has been connected and synchronized.

About this task

The StatemateBlock interface of the top-level flowing data within the IBM Rational Statemate model is specified in Rational Rhapsody using flowports.

To connect the two models:

Procedure

  1. In the Rational Rhapsody diagram from the previous procedure, use the Object icon to create an object with the appropriately named flowports.
  2. Connect the Rational Rhapsody flowports to the ports on the StatemateBlock object through links.
  3. To produce an application, perform code generation and build the entire Rational Rhapsody model.

Results

The StatemateBlock in Rational Rhapsody automatically synchronizes with the Rational Statemate model and adds or removes flowports from the StatemateBlock to reflect any changes made in the Rational Statemate top-level flowing data. The synchronization operation uses a Rational Rhapsody Block Configuration containing the following Rational Statemate data:


Feedback