Creating the required CORBA stereotype

About this task

In order to create a CORBA component, you must then create a class and define it as a CORBA interface stereotype. To create the interface class and make it a CORBA stereotype, follow these steps:

Procedure

  1. In the object model Main_Model, select the Class icon .
  2. Drag the pointer in the diagram drawing area to create a class.
  3. Type the name of the class, ISDM, over the default name that the system supplied. This class is the interface for SDM.
  4. Right-click the ISDM class diagram and select Features from the menu.
  5. Select the General tab and in the Stereotype field, select CORBAInterface from the list.
  6. Click OK.

Results

The ISDM class is now a CORBA interface. During code generation, the product generates IDL code for this class. Your diagram now resembles this example.


Feedback