Task - Extend an enumeration
Extending an enumeration requires that the
existing ValueMap and Values property qualifiers be modified. The
following example, added values to
the CIM_CPUDiagnosticTest.CPUTestType property.
- Fill in the fields in the Heading and Body folder tabs as
needed.
See Create a new Class for further
information.
- Select the CIM Class Change folder tab
- Enter CIM_CPUDiagnosticTest in the Name field in the Class
Information grouping and enter Tab
- The Properties sub-folder tab now shows all of the properties
(inherited and local) of CIM_CPUDiagnosticTest
- The Resulting MOF field shows the class definition for
CIM_CPUDiagnosticTest . Only local or overridden properties are
shown.
- Select the CPUTestType property in the Properties sub-folder.
The
property qualifiers are now listed in the Qualifiers for
Property
sub-group
- Select the ValueMap qualifier in the Qualifiers for Property
sub-group

- Click on Modify to show the Modify Qualifier window. Add "16"
to
the list in the Value field.

- Click on OK
- Follow the same steps for the Values property qualifier to add
the corresponding "Reset" value
- The Resulting MOF field now shows the changes highlight in blue

NOTE: By policy, if an Enumeration is extended in a Final class,
then the revised property is still considered Final; that is, the
property is intentionally not marked as Experimental.
Copyright © 2016 WBEM Solutions,
Inc.
All Rights Reserved.