HP WBEM Services for HP-UX and Linux System Administrator's Guide

HP WBEM Services CIM Operations
Class Manipulation Operations
Appendix B 99
Class Manipulation Operations
The class manipulation operations can be used by CIM clients to
explicitly manipulate schema. Schema manipulation can be done
implicitly through a MOF file. When the MOF compiler loads a MOF file,
the compiler will use a series of CreateClass Operations to create the
classes contained in the file.
Class manipulation operations are listed below:
GetClass (Read)
Takes a namespace and classname. Returns the class definition with
all properties and methods.
EnumerateClasses (Read)
Takes a namespace and, optionally, a classname. Returns a list of all
the classes and subclasses of that namespace (and classname if you
specified it), including the definitions of all properties and methods.
EmumerateClassNames (Read)
Takes a namespace and classname. Returns a list of all subclasses of
that namespace and class, including definitions of all key properties.
Does not return non-key properties or methods.
CreateClass (Write)
Takes a namespace and class definition. Creates the specified class.
ModifyClass (Write)
Takes a namespace and a new class specification. Replaces the
existing class specification to the new (modified) one.
DeleteClass (Write)
Takes a namespace and classname. Removes the class from the
namespace. If the class has subclasses, you must remove the
subclasses first.