Adding and Modifying parameters in operations

In UML diagrams, you can add and modify parameters that pass information into and out of operations by using the Properties view.

Before you begin

You must have a diagram open in the diagram editor, and the operations list compartment must be visible. Ensure that you have not set preferences to filter or hide operations. To see the parameters that you added to an operation in a classifier, you must modify the classifier's properties to show operation signatures.

About this task

To modify a parameter in an operation:

Procedure

  1. In the diagram editor, click an operation to select it.
  2. Right-click the operation; then click Show Properties View .
  3. In the Properties view, click the Parameters tab.
  4. On the Parameters page, click a column entry and change it to the desired value.
  5. Optional: To add a return type, in the Properties view, on the General page, in the Type column, click a type.

Feedback