Rational Developer for System z

Using the provided primitive types and stereotypes

The UML-to-COBOL process provides a model library that contains business oriented primitive types. These primitive types augment the UML primitive types that Rational® Software Architect provides. Their usage is not mandatory for the rest of the tasks, but they provide a better semantic for the attributes you want to describe. The transformations to the language related layers take advantage of this extra semantic.
When you create an UML model, you can specify which model libraries you want to use. To specify which libraries to add, do the following.
  1. Open your UML model (.emx file) and, in the editor view, switch to the Details tab.
  2. Click Add under Model Libraries. The Import Model Library window opens.
  3. In the Import Model Library window, select the Deployed Library radio button.
  4. From the Deployed Library drop-down menu, select Data Types.
  5. Click Ok.

Attribute types

As shown, from the main view, the Import Model Library window is opened and Data Types is selected under the Deployed Library radio button.
The Deployed Library radio button is selected in the Import Model Library window.
The model library provides the following types for attributes of a class.
As shown, the Select Element for Type window is open. The attribute types are shown under the Browse tab.
The Browse tab is displayed in the Select Element for Type window.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)