Task - Create a new Class
The following example creates a new Experimental subclass of
CIM_Service called CIM_CRToolService.
- This is the main WBEM Workshop window.

- Select File | New from the top menu bar. A Select Change Request
Document Type message box
appears. Select Schema (the default) and press OK
- You will return to the WBEM Workshop main window showing the
Change Request tab. The Header folder tab will be displayed. The
following shows
example values for the fields in this folder tab. The last five (5)
characters of the CR Number must be numeric.

- Select the Body folder tab and fill in the two fields as needed.
For example,

- Select the CIM Class Change folder tab. Most of the information
for a Change Request will be entered using this folder tab.
The top row has three groupings: Class Information, MOF, and Schema
Information. Each has its own set of sub-fields. The lower right pane
shows the Resulting MOF field, which displays the MOF file as its
elements are created, modified, or removed by the other fields in the
folder tab. The lower left pane shows three sub-folder tabs that
represent the class level CIM elements: Properties, Methods, and Class
Qualifiers. Depending upon the sub-folder tab selected, different
sub-groupings are displayed.
- Select the Properties sub-folder tab
- In the Schema Information group, select Application from the
drop-down list.
- In the Schema Information group, change the Version field if
desired
- In the Class Information group, enter CIM_CRToolService and then
hit the Tab Key
The window now looks like the following. The Name field in the Class
Information grouping shows CIM_CRToolService. The Model field in the
Schema Information grouping shows Application. The File Name field in
the Schema Information grouping shows Application/CIM_CRToolService.mof.

- The Resulting MOF field displayed above shows that
CIM_CRToolService does not have a parent class. To select the parent
class CIM_Service, click on Modify in the Class Information group. A
CIM Class window appears.
- In the CIM Class window, click on Find, enter CIM_Service and
press OK
- The CIM Class window now shows the CIM_Service class highlighted.
Press OK to select it as the parent class.
- The CIM Class Change folder tab now shows the following
- The Parent field shows CIM_Service as the parent class.
- The Properties sub-folder tab shows the properties that
CIM_CRToolService inherited from CIM_Service.
- The Resulting MOF field now shows that CIM_CRToolService is
inherited from CIM_Service. Being a new class, it is highlighted in blue.

Copyright © 2016 WBEM Solutions,
Inc.
All Rights Reserved.