ibm Rational Rhapsody 7.5 — Adding elements

Elements Elements Primary model elements within the browser are packages, classes, OMDs, associations, dependencies, operations, variables, events, event receptions, triggered operations, constructors, destructors, and types. Primary model elements in OMDs are packages, classes, associations (links), dependencies, and actors. Rational Rhapsody in C and C++ classes and their instances are replaced by C equivalent object types and objects, respectively. Similarly, class constructors and destructors are replaced by initializers and cleanup operations. Adding elements In the browser, you can add new elements to the model either from the Edit menu or from the pop-up menu.

The location you select in the browser hierarchy determines which model elements you can add. The new element is added in the scope of the current selection. Љ Select the project folder or a package, then select Edit > Add New > Component . Љ Right-click the project folder or a package and then select Add New > Component . Note If the browser is filtered, you can add only elements that appear in the current view. When you add a new association end, a window opens so you can select the related model element. 1. Right-click the actor and then select Add New > Association End . The Add Association/ Aggregation window opens. 2.

From the list, select the actor (or class) with which the current actor needs to communicate. 3. Click OK . When you create a new element, Rational Rhapsody gives it a default name. You can edit the name of your new element by typing a new name directly in name field in the browser, or by opening the Features window and entering a new name in the Name field. Rational Rhapsody 313