Sun WBEM SDK Developer's Guide

The MOF Syntax

Programmers can use the CIM API to represent CIM objects, developed in MOF, as Java classes. The CIM Object Manager checks and enforces that these CIM objects comply with the CIM 2.1 Specification. In some cases, it is possible to represent something syntactically correct in a MOF file that does not adhere to the CIM specification. The CIM Object Manager returns an error message when such a MOF file is compiled.

For example, if you specify scope in the qualifier definition in a MOF file, CIM Object Manager returns a compilation error because scope can only be specified in the definition of a CIM Qualifier Type. A CIM Qualifier cannot change the scope that was specified in the CIM Qualifier Type.