Binding operations and parameters to variables in sequence diagrams
You can bind operations and parameters to variables to
reuse an operation or parameter or to change operation and parameter
names withoutchanging each instance of the parameter or operation.
Before you begin
- You must select the sequence diagram preference to always show signatures.
- You must clear the preference to show operation signatures instead of message signatures.
- You must have a sequence diagram open with at least two lifelines.
Procedure
What to do next
In the message signature, the synchronous message parameter is assigned the variable argument that you created. In the return message, the second variable argument that you created is assigned to the operation.