Creating the class and inheritance of the system

About this task

In order to represent the system and create and inheritance between the system and its interface, you must now create the SDM class with these steps:

Procedure

  1. In the object model diagram, draw another class named SDM below the ISDM class.
  2. Select the Inheritance icon and click the top of the SDM class and then on the bottom of the ISDM class to create the inheritance relationship between the two classes. This means SDM implements the CORBA interface ISDM. The diagram now resembles this example.
  3. In the browser, the open the Packages and right-click Default. Select Add New > Event.
  4. Type evNotify into the open area in the browser to create the Notify event.
  5. In the browser, the open the Packages > Default > Classes > SDM.
  6. Right-click and select the Features option to display the Features window.
  7. Select the Operations tab and from the <New> list select the specified type. Then enter the text to name the new operations and assign all as "Public" visibility:
    • PrimitiveOperation - notify
    • PrimitiveOperation - CreateRefFile
    • Reception - evNotify

      The Operations in the Features window resembles this example.

  8. Click OK. The browser resembles the following example:

Feedback