HOPEX UML : HOPEX UML : The Class Diagram : Operations : Operation Methods (opaque behavior)
   
Operation Methods (opaque behavior)
A method - or opaque behavior - is a textual representation of implementation of an operation, class or component. It specifies the algorithm or procedure that produces results of an operation or behavior of an element.
To define the method implementing an operation:
1. Open the Properties dialog box of the operation.
2. In the Methods tab, click the New button.
3. Click in the Owner Class column and select Candidate Operation Classes.
4. The tool searches for classes that could supply implementation methods.
You can also create a new owner class of the method.
To enter the body of the text and the method that implements the operation:
1. Open the properties dialog box of the method.
2. Select the Characteristics subtab.
3. Define the method in the Body frame.
 
When a class has several subclasses, each subclass can perform the operation using a different method.
The Method tab presents the method relative to the selected class.