| Class | CIM::QualifierFlavors |
| In: |
lib/cim/qualifier_flavors.rb
|
| Parent: | ::Array |
Qualifier flavors are a fixed set. QualifierFlavors tracks which flavors are enabled for a specific QualifierDeclaration.
Allowed flavors are
| amended: | [wmi] Marks a qualifier value for localization (default: false) |
| enableoverride: | The qualifier can be overriden (in a subclass) (default: true) |
| disableoverride: | The qualifier can not be overriden (default: false) |
| restricted: | The qualifier only applies to the class in which it is declared (default: false) |
| toinstance: | [wmi] |
| tosubclass: | The qualifier is inherited by any subclass (default: true) |
| translatable: | Marks a qualifier value for localization (default: false) |
| FLAVORS | = | [:amended, :enableoverride, :disableoverride, :restricted, :toinstance, :tosubclass, :translatable] |
Create QualifierFlavors with an initial flavor. More flavors can be added through the << method.
The flavor can be named as a string or a symbol.
Add a flavor to the set The flavor can be named as a string or a symbol.
Raises QualifierFlavorError if its not an allowed flavor
Check if a specific flavor is included in the set
Raises QualifierFlavorError if its not an allowed flavor