Creating an Implementation Operation

When you create a realization link between a class and an interface, the class must implement all the operations of the interface.

Note: To automatically create the necessary operations in your class, click Tools > Model Options to open the Model Options dialog, and select the Auto-Implement Realized Interfaces option. If this option is not selected, you can implement the operations manually.
  1. Open the property sheet of a class that is linked to one or more interfaces by realization links and click the Operations tab.
  2. Click the To be Implemented button to open the To Be Implemented Operations window, which lists all the operations waiting to be implemented in the class. You can use the Properties button to display the property sheet of an operation.


  3. Select one or more operations, and then click the Implement button to copy them to the list of operations of the class with their stereotype set to <<Implement>>.
    Each implemented operation has the same signature (name and parameters) as the original operation, and you can only modify the code on its Implementation tab.
  4. Click Close to return to the Operations tab, and then click OK to return to your model.