1 krisbash 1.1 // Copyright (c) 2005 DMTF. All rights reserved.
2 [Abstract, Version ( "2.6.0" ),
3 UMLPackagePath ( "CIM::Policy" ),
4 Description (
5 "A class representing a rule-specific or reusable policy "
6 "condition to be evaluated in conjunction with a Policy Rule. "
7 "Since all operational details of a PolicyCondition are "
8 "provided in subclasses of this object, this class is abstract." )]
9 class CIM_PolicyCondition : CIM_Policy {
10
11 [Key, Description (
12 "The name of the class or the subclass used in the "
13 "creation of the System object in whose scope this "
14 "PolicyCondition is defined. \n"
15 "\n"
16 "This property helps to identify the System object in "
17 "whose scope this instance of PolicyCondition exists. For "
18 "a rule-specific PolicyCondition, this is the System in "
19 "whose context the PolicyRule is defined. For a reusable "
20 "PolicyCondition, this is the instance of "
21 "PolicyRepository (which is a subclass of System) that "
22 krisbash 1.1 "holds the Condition. \n"
23 "\n"
24 "Note that this property, and the analogous property "
25 "SystemName, do not represent propagated keys from an "
26 "instance of the class System. Instead, they are "
27 "properties defined in the context of this class, which "
28 "repeat the values from the instance of System to which "
29 "this PolicyCondition is related, either directly via the "
30 "PolicyConditionInPolicyRepository association or "
31 "indirectly via the PolicyConditionInPolicyRule "
32 "aggregation." ),
33 MaxLen ( 256 )]
34 string SystemCreationClassName;
35
36 [Key, Description (
37 "The name of the System object in whose scope this "
38 "PolicyCondition is defined. \n"
39 "\n"
40 "This property completes the identification of the System "
41 "object in whose scope this instance of PolicyCondition "
42 "exists. For a rule-specific PolicyCondition, this is the "
43 krisbash 1.1 "System in whose context the PolicyRule is defined. For a "
44 "reusable PolicyCondition, this is the instance of "
45 "PolicyRepository (which is a subclass of System) that "
46 "holds the Condition." ),
47 MaxLen ( 256 )]
48 string SystemName;
49
50 [Key, Description (
51 "For a rule-specific PolicyCondition, the "
52 "CreationClassName of the PolicyRule object with which "
53 "this Condition is associated. For a reusable Policy "
54 "Condition, a special value, \'NO RULE\', should be used "
55 "to indicate that this Condition is reusable and not "
56 "associated with a single PolicyRule." ),
57 MaxLen ( 256 )]
58 string PolicyRuleCreationClassName;
59
60 [Key, Description (
61 "For a rule-specific PolicyCondition, the name of the "
62 "PolicyRule object with which this Condition is "
63 "associated. For a reusable PolicyCondition, a special "
64 krisbash 1.1 "value, \'NO RULE\', should be used to indicate that this "
65 "Condition is reusable and not associated with a single "
66 "PolicyRule." ),
67 MaxLen ( 256 )]
68 string PolicyRuleName;
69
70 [Key, Description (
71 "CreationClassName indicates the name of the class or the "
72 "subclass used in the creation of an instance. When used "
73 "with the other key properties of this class, this "
74 "property allows all instances of this class and its "
75 "subclasses to be uniquely identified." ),
76 MaxLen ( 256 )]
77 string CreationClassName;
78
79 [Key, Description (
80 "A user-friendly name of this PolicyCondition." ),
81 MaxLen ( 256 )]
82 string PolicyConditionName;
83
84
85 krisbash 1.1 };
|