(file) Return to CIM_QueryCondition.mof CVS log (file) (dir) Up to [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Policy

File: [Pegasus] / pegasus / Schemas / CIM231 / DMTF / Policy / CIM_QueryCondition.mof (download)
Revision: 1.1, Tue Jan 24 13:50:28 2012 UTC (12 years, 5 months ago) by marek
Branch: MAIN
CVS Tags: preBug9676, postBug9676, TASK-TASK_PEP362_RestfulService_branch-root, TASK-TASK_PEP362_RestfulService_branch-merged_out_from_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_to_trunk, TASK-TASK_PEP362_RestfulService_branch-merged_in_from_branch, TASK-TASK_PEP362_RestfulService_branch-branch, TASK-PEP362_RestfulService-root, TASK-PEP362_RestfulService-merged_out_to_branch, TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP362_RestfulService-merged_in_to_trunk, TASK-PEP362_RestfulService-merged_in_from_branch, TASK-PEP362_RestfulService-branch, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, RELEASE_2_14_1, RELEASE_2_14_0-RC2, RELEASE_2_14_0-RC1, RELEASE_2_14_0, RELEASE_2_14-root, RELEASE_2_14-branch, RELEASE_2_13_0-RC2, RELEASE_2_13_0-RC1, RELEASE_2_13_0-FC, RELEASE_2_13_0, RELEASE_2_13-root, RELEASE_2_13-branch, RELEASE_2_12_1-RC1, RELEASE_2_12_1, RELEASE_2_12_0-RC1, RELEASE_2_12_0-FC, RELEASE_2_12_0, RELEASE_2_12-root, RELEASE_2_12-branch, HEAD, CIMRS_WORK_20130824
Branch point for: TASK-PEP317_pullop-branch
BUG#:9155
TITLE: Upgrade Pegasus to Include the CIM 2.31 Schema in CVS

DESCRIPTION:

// Copyright (c) 2009 DMTF.  All rights reserved.
   [Version ( "2.22.0" ), 
    UMLPackagePath ( "CIM::Policy" ), 
    Description ( 
       "QueryCondition 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. \n"
       "\n"
       "QueryConditions are assumed to be constantly evaluated "
       "whenever precursor PolicyConditions are met. Actual "
       "implementations may evaluate conditions dynamically, via "
       "polling, or via other means. \n"
       "\n"
       "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." )]
class CIM_QueryCondition : CIM_PolicyCondition {

      [Required, Description ( 
          "In 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." ), 
       ModelCorrespondence { "CIM_QueryCondition.Query", 
          "CIM_MethodAction.Query" }]
   string QueryResultName;

      [Required, Description ( 
          "A 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." ), 
       ModelCorrespondence { "CIM_QueryCondition.QueryLanguage", 
          "CIM_QueryCondition.QueryResultName" }]
   string Query;

      [Required, Description ( 
          "The language in which the Query string is expressed./n "
          "CQL - refers to the \'DMTF:CQL\' language defined by "
          "DSP0200. \n"
          "CQL: indicates a CIM Query Language string. \n"
          "CQLT: indicates a CIM Query Language Template string. "
          "When used, the identifiers recognized in the "
          "$identifier$ tokens are \"SELF\" and the property names "
          "of this class, or one of its subclasses. When used in "
          "the Query string, $SELF$ will be replaced by a string "
          "corresponding to a WBEM URI referencing the instance of "
          "this class that contains the Query template string. "
          "Tokens of the form $<propertyname>$ will be replaced by "
          "a string representing the corresponding property value "
          "of the instance of this class that contains the Query "
          "string." ), 
       ValueMap { "2", "3", "..", "0x8000.." }, 
       Values { "CQL", "CQLT", "DMTF Reserved", "Vendor Reserved" }, 
       ModelCorrespondence { "CIM_QueryCondition.Query" }]
   uint16 QueryLanguage = 2;

      [Required, Description ( 
          "If 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." )]
   boolean Trigger = false;


};

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2