[This is preliminary documentation and subject to change.]
A qualifier flavor is a flag that describes the usage of a qualifer. The MOF language defines several qualifier flavors that can be attached to any qualifier, regardless of its origin. That is, the same flavor can be used to describe a standard WBEM class qualifier such as Association or a property qualifier defined by a provider for a specific class. However, some flavors are not appropriate for all qualifier types. The ToSubclass flavor, for example, is only appropriate for qualifiers defined with a class. It cannot be attached to a qualifier being used to describe an instance.
Flavors appear in the MOF syntax as follows. When multiple flavors are specified for a qualifier, whitespace acts as the delimiter:
[qualifier1 : flavor1 flavor2 flavor3, qualifier2 : flavor1]
The following table describes the flavor flags:
Flavor | Description |
---|---|
DisableOverride | Qualifier value cannot be overridden in a derived class or an instance. |
EnableOverride | Qualifier value can be overridden in a derived class or an instance. |
NotToInstance | Qualifier is not propagated to instances. |
NotToSubclass | Qualifier is not propagated to derived classes. |
Restricted | Qualifier is not propagated to instances or derived classes. |
ToInstance | Qualifier is propagated to instances. |
ToSubclass | Qualifier is propagated to derived classes. |
When a qualifier lacks the DisableOverride flavor, its value can be overridden by a derived class or an instance. Specifying EnableOverride is optional.