In UML models, you can specify the type of an operation.
To set the type property of operations:
- In the diagram editor, click an operation.
- In the Properties view, click the General tab.
- On the General page, click Set
return type.
- In the Select element window, click
an element.
- Click OK.