ibm Rational Rhapsody 7.5 — External elements

External elements External elements Rational Rhapsody enables you to visualize frozen legacy code or edit external code as external elements . This external code is code that is developed and maintained outside of Rational Rhapsody. This code will not be regenerated by Rational Rhapsody, but will participate in code generation of Rational Rhapsody models that interact or interface with this external code so, for example, the appropriate #include statement is generated. This functionality provides easy modeling with code written outside of Rational Rhapsody, and a better understanding of a proven system. Rational Rhapsody supports the following functionality for external elements:

Љ Reverse engineering can import elements as external. Љ Reverse engineering populates the model with enough information to: – Enable you to open the source of the external elements, even if the element is not included in the scope of the active component. Љ Rational Rhapsody generates the correct #include for references to external elements. Љ Elements inherit their externality from the parent. For example, if a package is external, all its aggregates are also external. Љ You can add external elements to component files to define the exact location of the source code. Љ Rational Rhapsody displays external elements in the scope tree of the component. – Model external elements in the model.

There are two ways to create external elements: Љ By reverse engineering the files Љ By modeling Rational Rhapsody 599