Class CIM::QualifierDeclaration
In: lib/cim/qualifier_declaration.rb
Parent: NamedElement

A Qualifier is a modifier containing information to describe a Class, an Instance, a Property, a Method or a parameter.

A qualifier needs to be declared before it can be used.

Typical qualifiers are e.g.

Description:(string type) to add a textual information about an element of the CIM model.
Counter,Gauge:to explain how a numeric value is to be interpreted
Deprecated:to denote end-of-life for model elements
Min, Max:(MinLen, MaxLen, MinValue, MaxValue) limits

A QualifierDeclaration declares a qualifier by

name:(String)
type:(Type) (defaults to boolean)
default value:(Variant) (defaults to false)
scopes:(QualifierScopes) (where the qualifier can be used)
flavor:(QualifierFlavors) (how the qualifier is applied)

Methods

==   new   to_s   to_sym  

Attributes

default  [R] 
flavors  [R] 
scopes  [R] 
type  [R] 

Public Class methods

Public Instance methods

Test for equality by comparing name and type

returns a String representation in MOF syntax format

return a Symbol representation of the qualifier name

[Validate]