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
In the object model diagram, draw another
class named SDM below the ISDM class.
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.
In
the browser, the open the Packages and
right-click Default. Select Add New > Event.
Type evNotify into the
open area in the browser to create the Notify event.
In the browser, the open the Packages > Default > Classes > SDM.
Right-click and select the Features option
to display the Features window.
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.
Click OK. The browser
resembles the following example: