|
CIM Tutorial
> CIM > Overview
> Meta Schema > Qualifier
 |
CIM Meta Schema - Qualifier
|
 |
Overview | CIM
Schema | Extension Schema | CIM
Certification | CIM Query Language
Object Orientated Overview
| Specification | Meta
Schema | MOF | UML
Schema | Class
| Property | Method | Qualifier | Reference | Association | Indication
Qualifiers are values that provide
additional information about classes, associations, indications,
methods, method parameters, properties or references. The Qualifier
Type is the definition of a qualifier. A qualifier can
not be used without a qualifier type definition and the qualifier
must agree with its qualifier type, that is the data type and value
must match that of the qualifier type. Qualifiers are scoped by
the namespace in which they are present and the qualifier type definition
must be unique within that namespace.
All qualifiers have a name, type, value, scope,
flavor and an optional default value. The type can be any
of the types that are available for a property (except References).
The flavor defines additional behavior for qualifiers.
For example, qualifiers can be transmitted automatically from classes
to derived classes or restricted to the class for which it was defined.
Qualifiers can also be defined to allow whether or not derived
classes can override the qualifier value, or whether it must be
fixed for an entire class hierarchy. The following table describes
the qualifier flavors.
| Parameter |
Definition |
Default |
| EnableOverride |
The qualifier can be overridden |
yes |
| DisableOverride |
The qualifier can not be overridden |
no |
| ToSubClass |
The qualifier is inherited by any
subclass |
yes |
| Restricted |
The qualifier applies to the class
in which it is declared |
no |
| Translatable |
Indicates the value of the qualifier can be
specified in multiple locales |
no |
The scope defines the meta elements that the qualifier
can be applied to. The scope must contain at least one meta element,
but can contain a combination of meta elements or can contain the
keyword any to imply that the qualifier can be applied
to all meta elements. The scope can include the following
meta elements: Class, Association, Indication, Property, Reference,
Method, Parameter
| Example Qualifier Type Definitions |
Example Qualifier Usage |
- Qualifier Abstract : boolean = false,
Scope(class, association, indication),
Flavor(Restricted);
- Qualifier Description : string = null,
Scope(any),
Flavor(Translatable);
- Qualifier Version : string = null,
Scope(class, association, indication),
Flavor(Translatable);
|
- [Abstract, Version ("2.7.0"),
Description (
- "ManagedElement
is an abstract class that provides a common "
- "superclass (or
top of the inheritance tree) for the "
- "non-association
classes in the CIM Schema.") ]
- class CIM_ManagedElement {
|
|