CIM211 Class Declaration
CIM_QueryCondition

Table of Contents:
Class Hierarchy
Class Attributes
Class Qualifiers
Properties
Methods
Associations in which the class can participate
Sub Profiling Summary

Class Hierarchy

CIM_QueryCondition --> CIM_PolicyCondition --> CIM_Policy --> CIM_ManagedElement --> [top]

Class Attributes

Class Declaration Attributes
NameValue
SUPERCLASSCIM_PolicyCondition
NAMECIM_QueryCondition

Class Qualifiers

Class CIM_QueryCondition Qualifiers
NameTypeValueFrom Class
Experimentalbooleantrue CIM_QueryCondition
Versionstring2.8.1000 CIM_QueryCondition
DescriptionstringQueryCondition defines the criteria for generating a set of query results that are accessible to other QueryConditions or MethodActions of the same PolicyRule. If there are no results returned from the query, then the Condition evaluates to false; otherwise, true. QueryConditions are assumed to be constantly evaluated whenever precursor PolicyConditions are met. Actual implementations may evaluate conditions dynamically, via polling, or via other means. QueryCondition instances are viewed as clients of query. The QueryCondition implementation takes the query results and makes them available by the name specified in QueryResultName to the FROM clause in the Query property of other QueryConditions or MethodActions. (The details of how this is accomplished are implementation dependent.) These results are not available via CIM Operations, do not create lifecycle indications, and do not persist beyond a single evaluation of the associated PolicyRule. CIM_QueryCondition
DescriptionstringA class representing a rule-specific or reusable policy condition to be evaluated in conjunction with a Policy Rule. Since all operational details of a PolicyCondition are provided in subclasses of this object, this class is abstract. CIM_PolicyCondition
DescriptionstringAn abstract class defining the common properties of the policy managed elements derived from CIM_Policy. The subclasses are used to create rules and groups of rules that work together to form a coherent set of policies within an administrative domain or set of domains. CIM_Policy
DescriptionstringManagedElement is an abstract class that provides a common superclass (or top of the inheritance tree) for the non-association classes in the CIM Schema. CIM_ManagedElement

Properties

Properties
NameTypeValueQualifiersClassOrigin
QueryResultNamestring Required
Description
ModelCorrespondence
CIM_QueryCondition
Querystring Required
Description
ModelCorrespondence
CIM_QueryCondition
QueryLanguageuint162 Required
Description
ValueMap
Values
ModelCorrespondence
CIM_QueryCondition
Triggerbooleanfalse Required
Description
CIM_QueryCondition
SystemCreationClassNamestring Key
Description
MaxLen
CIM_PolicyCondition
SystemNamestring Key
Description
MaxLen
CIM_PolicyCondition
PolicyRuleCreationClassNamestring Key
Description
MaxLen
CIM_PolicyCondition
PolicyRuleNamestring Key
Description
MaxLen
CIM_PolicyCondition
CreationClassNamestring Key
Description
MaxLen
CIM_PolicyCondition
PolicyConditionNamestring Key
Description
MaxLen
CIM_PolicyCondition
CommonNamestring Description CIM_Policy
PolicyKeywordsstring[] Description CIM_Policy
Captionstring Description
MaxLen
CIM_ManagedElement
Descriptionstring Description CIM_ManagedElement
ElementNamestring Description CIM_ManagedElement

Property Qualifiers

Property QueryResultName Qualifiers
NameTypeValueFrom Class
Requiredbooleantrue CIM_QueryCondition
DescriptionstringIn the context of the associated PolicyRule, QueryResultName defines a unique alias for the query results that MAY be used in subsequent QueryConditions or MethodActions of the same PolicyRule. This string is treated as a class name, in a query statement. CIM_QueryCondition
ModelCorrespondencestringCIM_QueryCondition.Query
CIM_MethodAction.Query
CIM_QueryCondition

Property Query Qualifiers
NameTypeValueFrom Class
Requiredbooleantrue CIM_QueryCondition
DescriptionstringA query expression that MAY be evaluated and that defines the query results that MAY be generated. Note that the query ’ s FROM clause MAY reference any class, including those named by the QueryResultName of other QueryCondition instances associated to the same PolicyRule. CIM_QueryCondition
ModelCorrespondencestringCIM_QueryCondition.QueryLanguage
CIM_QueryCondition.QueryResultName
CIM_QueryCondition

Property QueryLanguage Qualifiers
NameTypeValueFrom Class
Requiredbooleantrue CIM_QueryCondition
DescriptionstringThe language in which the Query string is expressed. CIM_QueryCondition
ValueMapstring
[See below.]
CIM_QueryCondition
ValuesstringCQL
DMTF Reserved
Vendor Reserved
CIM_QueryCondition
ModelCorrespondencestringCIM_QueryCondition.Query CIM_QueryCondition

NameValue
2CQL
..DMTF Reserved
0x8000..Vendor Reserved
Property Trigger Qualifiers
NameTypeValueFrom Class
Requiredbooleantrue CIM_QueryCondition
DescriptionstringIf Trigger = true, and with the exception of any PolicyTimePeriodConditions, PolicyConditions of this Policy are not evaluated until this ’ triggering ’ condition query is true. There MUST be no more than one QueryCondition with Trigger = true associated with a particular Policy. CIM_QueryCondition

Property SystemCreationClassName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringThe name of the class or the subclass used in the creation of the System object in whose scope this PolicyCondition is defined. This property helps to identify the System object in whose scope this instance of PolicyCondition exists. For a rule-specific PolicyCondition, this is the System in whose context the PolicyRule is defined. For a reusable PolicyCondition, this is the instance of PolicyRepository (which is a subclass of System) that holds the Condition. Note that this property, and the analogous property SystemName, do not represent propagated keys from an instance of the class System. Instead, they are properties defined in the context of this class, which repeat the values from the instance of System to which this PolicyCondition is related, either directly via the PolicyConditionInPolicyRepository association or indirectly via the PolicyConditionInPolicyRule aggregation. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property SystemName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringThe name of the System object in whose scope this PolicyCondition is defined. This property completes the identification of the System object in whose scope this instance of PolicyCondition exists. For a rule-specific PolicyCondition, this is the System in whose context the PolicyRule is defined. For a reusable PolicyCondition, this is the instance of PolicyRepository (which is a subclass of System) that holds the Condition. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property PolicyRuleCreationClassName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringFor a rule-specific PolicyCondition, the CreationClassName of the PolicyRule object with which this Condition is associated. For a reusable Policy Condition, a special value, ’ NO RULE ’ , should be used to indicate that this Condition is reusable and not associated with a single PolicyRule. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property PolicyRuleName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringFor a rule-specific PolicyCondition, the name of the PolicyRule object with which this Condition is associated. For a reusable PolicyCondition, a special value, ’ NO RULE ’ , should be used to indicate that this Condition is reusable and not associated with a single PolicyRule. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property CreationClassName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringCreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property PolicyConditionName Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_PolicyCondition
DescriptionstringA user-friendly name of this PolicyCondition. CIM_PolicyCondition
MaxLenuint32256 CIM_PolicyCondition

Property CommonName Qualifiers
NameTypeValueFrom Class
DescriptionstringA user-friendly name of this policy-related object. CIM_Policy

Property PolicyKeywords Qualifiers
NameTypeValueFrom Class
DescriptionstringAn array of keywords for characterizing / categorizing policy objects. Keywords are of one of two types: - Keywords defined in this and other MOFs, or in DMTF white papers. These keywords provide a vendor- independent, installation-independent way of characterizing policy objects. - Installation-dependent keywords for characterizing policy objects. Examples include ’ Engineering ’ , ’ Billing ’ , and ’ Review in December 2000 ’ . This MOF defines the following keywords: ’ UNKNOWN ’ , ’ CONFIGURATION ’ , ’ USAGE ’ , ’ SECURITY ’ , ’ SERVICE ’ , ’ MOTIVATIONAL ’ , ’ INSTALLATION ’ , and ’ EVENT ’ . These concepts are self-explanatory and are further discussed in the SLA/Policy White Paper. One additional keyword is defined: ’ POLICY ’ . The role of this keyword is to identify policy-related instances that may not be otherwise identifiable, in some implementations. The keyword ’ POLICY ’ is NOT mutually exclusive of the other keywords specified above. CIM_Policy

Property Caption Qualifiers
NameTypeValueFrom Class
DescriptionstringThe Caption property is a short textual description (one- line string) of the object. CIM_ManagedElement
MaxLenuint3264 CIM_ManagedElement

Property Description Qualifiers
NameTypeValueFrom Class
DescriptionstringThe Description property provides a textual description of the object. CIM_ManagedElement

Property ElementName Qualifiers
NameTypeValueFrom Class
DescriptionstringA user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information. Note that the Name property of ManagedSystemElement is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties. CIM_ManagedElement

Methods

Method Qualifiers

Parameters

Parameter Qualifiers

Associations this class can participate in

Association
Class
Reference
Class
Role
CIM_PolicyConditionStructureCIM_PolicyConditionPartComponent
CIM_PolicyConditionInPolicyConditionCIM_PolicyConditionPartComponent
CIM_PolicyConditionInPolicyRuleCIM_PolicyConditionPartComponent
CIM_PolicyConditionInPolicyRepositoryCIM_PolicyConditionDependent
CIM_PolicyComponentCIM_PolicyGroupComponent
CIM_PolicyComponentCIM_PolicyPartComponent
CIM_PolicyConditionStructureCIM_PolicyGroupComponent
CIM_PolicyActionStructureCIM_PolicyGroupComponent
CIM_PolicyInSystemCIM_PolicyDependent
CIM_ReusablePolicyCIM_PolicyDependent
CIM_ComponentCIM_ManagedElementGroupComponent
CIM_ComponentCIM_ManagedElementPartComponent
CIM_ConcreteComponentCIM_ManagedElementGroupComponent
CIM_ConcreteComponentCIM_ManagedElementPartComponent
CIM_CredentialContextCIM_ManagedElementElementProvidingContext
CIM_DefaultElementCapabilitiesCIM_ManagedElementManagedElement
CIM_DependencyCIM_ManagedElementAntecedent
CIM_DependencyCIM_ManagedElementDependent
CIM_HostedDependencyCIM_ManagedElementAntecedent
CIM_HostedDependencyCIM_ManagedElementDependent
CIM_ScopedSettingCIM_ManagedElementAntecedent
CIM_MetricDefForMECIM_ManagedElementAntecedent
CIM_MetricForMECIM_ManagedElementAntecedent
CIM_RelatedElementCausingErrorCIM_ManagedElementDependent
CIM_RelatedElementCausingErrorCIM_ManagedElementAntecedent
CIM_SparedCIM_ManagedElementAntecedent
CIM_SparedCIM_ManagedElementDependent
CIM_ConcreteDependencyCIM_ManagedElementAntecedent
CIM_ConcreteDependencyCIM_ManagedElementDependent
CIM_ElementAsUserCIM_ManagedElementAntecedent
CIM_RecordAppliesToElementCIM_ManagedElementDependent
CIM_AuthenticationTargetCIM_ManagedElementDependent
CIM_AuthorizationSubjectCIM_ManagedElementDependent
CIM_AuthorizationTargetCIM_ManagedElementDependent
CIM_ElementSoftwareIdentityCIM_ManagedElementDependent
CIM_IsSpareCIM_ManagedElementAntecedent
CIM_ProvidesServiceToElementCIM_ManagedElementDependent
CIM_ElementCapabilitiesCIM_ManagedElementManagedElement
CIM_IdentityContextCIM_ManagedElementElementProvidingContext
CIM_LogicalIdentityCIM_ManagedElementSystemElement
CIM_LogicalIdentityCIM_ManagedElementSameElement
CIM_ConcreteIdentityCIM_ManagedElementSystemElement
CIM_ConcreteIdentityCIM_ManagedElementSameElement
CIM_SWRManageableAspectCIM_ManagedElementSystemElement
CIM_MemberOfCollectionCIM_ManagedElementMember
CIM_MemberPrincipalCIM_ManagedElementMember
CIM_ElementInPolicyRoleCollectionCIM_ManagedElementMember
CIM_OwningCollectionElementCIM_ManagedElementOwningElement
CIM_ParametersForMethodCIM_ManagedElementTheMethod
CIM_ParameterValueSourcesCIM_ManagedElementValueSource
CIM_PolicySetAppliesToElementCIM_ManagedElementManagedElement
CIM_AuthorizationRuleAppliesToTargetCIM_ManagedElementManagedElement
CIM_RoleLimitedToTargetCIM_ManagedElementTargetElement
CIM_StatisticsCIM_ManagedElementElement
CIM_SynchronizedCIM_ManagedElementSystemElement
CIM_SynchronizedCIM_ManagedElementSyncedElement
CIM_StorageSynchronizedCIM_ManagedElementSystemElement
CIM_StorageSynchronizedCIM_ManagedElementSyncedElement
CIM_AssignedIdentityCIM_ManagedElementManagedElement
CIM_AuthorizedSubjectCIM_ManagedElementPrivilegedElement
CIM_AuthorizedTargetCIM_ManagedElementTargetElement
CIM_ElementConformsToProfileCIM_ManagedElementManagedElement
CIM_ElementLocationCIM_ManagedElementElement
CIM_ElementProfileCIM_ManagedElementManagedElement
CIM_ElementSecuritySensitivityCIM_ManagedElementManagedElement
CIM_ElementSettingDataCIM_ManagedElementManagedElement
CIM_ElementStatisticalDataCIM_ManagedElementManagedElement
CIM_OwningJobElementCIM_ManagedElementOwningElement
CIM_AffectedJobElementCIM_ManagedElementAffectedElement
CIM_ServiceAffectsElementCIM_ManagedElementAffectedElement
CIM_ServiceAvailableToElementCIM_ManagedElementUserOfService
CIM_SAPAvailableForElementCIM_ManagedElementManagedElement
CIM_ManagementSAPCIM_ManagedElementManagedElement