In
UML models, you can specify the default value that a parameter is assigned
if an operation is called without being passed explicit parameter values.
Before you begin
You must be in the
Modeling perspective
and the model must contain an operation that has at least one parameter.
About this task
To set the default value
of a parameter:
Procedure
- In the diagram editor, click an operation.
- In the Properties view, click the Parameters tab.
- In the Default Value column of the table,
select a value from the list.
What to do next
Note: You can add a new parameter for the operation by clicking

and selecting a value from the
Default
Value list.