1 karl 1.1 // ===================================================================
2 // Title: Installed Product
3 // $State: Preliminary $
4 // $Date: 2004/07/02 22:50:19 $
5 // $Source: /home/dmtf2/dotorg/var/cvs/repositories/dev/Schema/MOF/Application_InstalledProduct.mof,v $
6 // $Revision: 1.3 $
7 // ===================================================================
8 //#pragma inLine ("Includes/copyright.inc")
9 // Copyright 1998-2004 Distributed Management Task Force, Inc. (DMTF).
10 // All rights reserved.
11 // DMTF is a not-for-profit association of industry members dedicated
12 // to promoting enterprise and systems management and interoperability.
13 // DMTF specifications and documents may be reproduced for uses
14 // consistent with this purpose by members and non-members,
15 // provided that correct attribution is given.
16 // As DMTF specifications may be revised from time to time,
17 // the particular version and release date should always be noted.
18 //
19 // Implementation of certain elements of this standard or proposed
20 // standard may be subject to third party patent rights, including
21 // provisional patent rights (herein "patent rights"). DMTF makes
22 karl 1.1 // no representations to users of the standard as to the existence
23 // of such rights, and is not responsible to recognize, disclose, or
24 // identify any or all such third party patent right, owners or
25 // claimants, nor for any incomplete or inaccurate identification or
26 // disclosure of such rights, owners or claimants. DMTF shall have no
27 // liability to any party, in any manner or circumstance, under any
28 // legal theory whatsoever, for failure to recognize, disclose, or
29 // identify any such third party patent rights, or for such party's
30 // reliance on the standard or incorporation thereof in its product,
31 // protocols or testing procedures. DMTF shall have no liability to
32 // any party implementing such standard, whether such implementation
33 // is foreseeable or not, nor to any patent owner or claimant, and shall
34 // have no liability or responsibility for costs or losses incurred if
35 // a standard is withdrawn or modified after publication, and shall be
36 // indemnified and held harmless by any party implementing the
37 // standard from any and all claims of infringement by a patent owner
38 // for such implementations.
39 //
40 // For information about patents held by third-parties which have
41 // notified the DMTF that, in their opinion, such patent may relate to
42 // or impact implementations of DMTF standards, visit
43 karl 1.1 // http://www.dmtf.org/about/policies/disclosures.php.
44 //#pragma inLine
45 // ===================================================================
46 // Description: These object classes define the DMTF Application Model
47 // and represent installed products and product images.
48 //
49 // The object classes below are listed in an order that
50 // avoids forward references. Required objects, defined
51 // by other working groups, are omitted.
52 // ==================================================================
53 // 11/29/00 - Version 2.5
54 // - CR546a Add InstalledProduct Collection
55 //
56 // 03/09/2002 CIM 2.6 Final release
57 // - CR658 Add Key Qualifier to association references
58 // in Appl and SysDev MOFs. This changed
59 // CIM_InstalledSoftwareElement,
60 // CIM_InstalledProductImage
61 // - CR746 Add Version qualifier (Version 2.6.0) to
62 // all classes and associations.
63 // - CR823 Cleanup all Descriptions and other textual issues
64 karl 1.1 //
65 // 06/06/2002 CIM 2.7 Preliminary Release
66 // - Define Application MOF structure
67 // 03/17/2003 CIM 2.7 Final
68 // - No changes
69 // ===================================================================
70
71 #pragma locale ("en_US")
72
73
74 // ===================================================================
75 // InstalledProduct
76 // ===================================================================
77 [Version ( "2.6.0" ), Description (
78 "The InstalledProduct object allows the grouping of "
79 "SoftwareFeatures and SoftwareElements that represent the "
80 "result of the installation of a purchased Product. "
81 "InstalledProduct is defined to be Weak to a Product. \n"
82 "Often, Products are purchased once but may be installed "
83 "several times in different locations on one or more systems. "
84 "All of the SoftwareElements and SoftwareFeatures of a single "
85 karl 1.1 "install are grouped by an instance of InstalledProduct. These "
86 "are defined using the associations, CollectedSoftwareFeatures "
87 "and Collected SoftwareElements.")]
88 class CIM_InstalledProduct : CIM_Collection {
89
90 [Key, Propagated ( "CIM_Product.IdentifyingNumber" ),
91 Description (
92 "The scoping Product's identification."),
93 MaxLen ( 64 )]
94 string ProductIdentifyingNumber;
95
96 [Key, Propagated ( "CIM_Product.Name" ), Description (
97 "The scoping Product's commonly used name."),
98 MaxLen ( 256 )]
99 string ProductName;
100
101 [Key, Propagated ( "CIM_Product.Vendor" ), Description (
102 "The scoping Product's name."),
103 MaxLen ( 256 )]
104 string ProductVendor;
105
106 karl 1.1 [Key, Propagated ( "CIM_Product.Version" ), Description (
107 "The scoping Product's version information."),
108 MaxLen ( 64 )]
109 string ProductVersion;
110
111 [Key, Description (
112 "The identifying information of the System (ie, the "
113 "instance) on which the Product is installed. If the System "
114 "is not known, this property returns NULL. If the System is "
115 "known and represented in CIM, the property contains the "
116 "namespace and model paths of the instance, encoded as a "
117 "string parameter. If known but not represented in CIM, the "
118 "property contains some identifying string that names the "
119 "System on which the Product is installed."),
120 MaxLen ( 256 )]
121 string SystemID;
122
123 [Key, Description (
124 "The identification of the InstalledProduct object. This key "
125 "can be used to differentiate between Product installations "
126 "and could include the installation location."),
127 karl 1.1 MaxLen ( 256 )]
128 string CollectionID;
129
130 [Description (
131 "The Name property defines the label by which the object is "
132 "known to the world, outside the data processing system. "
133 "This label is a human-readable name that uniquely "
134 "identifies the element in the context of the element's "
135 "namespace."),
136 MaxLen ( 256 )]
137 string Name;
138 };
139
140
141 // ==================================================================
142 // InstalledProductImage
143 // ==================================================================
144 [Association, Aggregation, Version ( "2.6.0" ), Description (
145 "InstalledProductImage identifies the collection of Software "
146 "Features and SoftwareElements that are the result of the "
147 "installation of the referenced Product.")]
148 karl 1.1 class CIM_InstalledProductImage {
149
150 [Key, Aggregate, Min ( 1 ), Max ( 1 ), Description (
151 "The product that has been installed.")]
152 CIM_Product REF Product;
153
154 [Key, Weak, Description (
155 "The collection containing the set of SoftwareFeatures and "
156 "SoftwareElements that are the result of installing the "
157 "Product.")]
158 CIM_InstalledProduct REF Collection;
159 };
160
161
162 // ==================================================================
163 // CollectedSoftwareElements
164 // ==================================================================
165 [Association, Aggregation, Version ( "2.6.0" ), Description (
166 "CollectedSoftwareElements defines the SoftwareElements that "
167 "are collected by InstalledProduct (ie, the installed image of "
168 "a Product).")]
169 karl 1.1 class CIM_CollectedSoftwareElements : CIM_MemberOfCollection {
170
171 [Aggregate, Override ( "Collection" ), Description (
172 "The collection representing the installed image of a "
173 "Product.")]
174 CIM_InstalledProduct REF Collection;
175
176 [Override ( "Member" ), Description (
177 "A SoftwareElement that is a member of the InstalledProduct "
178 "collection.")]
179 CIM_SoftwareElement REF Member;
180 };
181
182
183 // ==================================================================
184 // CollectedSoftwareFeatures
185 // ==================================================================
186 [Association, Aggregation, Version ( "2.6.0" ), Description (
187 "CollectedSoftwareFeatures defines the SoftwareFeatures that "
188 "are collected by InstalledProduct (ie, the installed image of "
189 "a Product).")]
190 karl 1.1 class CIM_CollectedSoftwareFeatures : CIM_MemberOfCollection {
191
192 [Aggregate, Override ( "Collection" ), Description (
193 "The collection representing the installed image of a "
194 "Product.")]
195 CIM_InstalledProduct REF Collection;
196
197 [Override ( "Member" ), Description (
198 "The SoftwareFeature that is a member of the "
199 "InstalledProduct collection.")]
200 CIM_SoftwareFeature REF Member;
201 };
202
203
204 // ==================================================================
205 // end of file
206 // ==================================================================
|