1 marek 1.1 // Copyright (c) 2005 - 2007 DMTF. All rights reserved.
2 // <change cr="SysDevCR00722.000" type ="change">Update of
3 // descriptions based on Tech Edit review.</
4 // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
5 // qualifier values to CIM Schema.</change>
6 // <change cr="CIMCoreCR00943" type="add">Update description and add enumeration.</change>
7 // ==================================================================
8 // CIM_ServiceServiceDependency
9 // ==================================================================
10 [Association, Version ( "2.16.0" ),
11 UMLPackagePath ( "CIM::Core::Service" ),
12 Description (
13 "CIM_ServiceServiceDependency is an association between a "
14 "Service and another Service, which indicates that the latter "
15 "cooperates with the former, is required to be present, "
16 "required to have completed, or must be absent for the former "
17 "Service to provide its functionality. For example, Boot "
18 "Services might be dependent upon underlying system "
19 "initialization Services. In the case of the initialization "
20 "Services, the Boot Service might be dependent on the "
21 "completion of the init Services. \n"
22 marek 1.1 "When examining the ServiceServiceDependency class definition, "
23 "note that its superclass ProvidesServiceToElement is "
24 "deprecated. Unfortunately, ProvidesServiceToElement cannot be "
25 "removed from the object hierarchy without a major Schema "
26 "release. When or if a major release occurs, the "
27 "ProvidesServiceToElement superclass will be removed, and "
28 "ServiceServiceDependency will subclass from CIM_Dependency "
29 "directly." )]
30 class CIM_ServiceServiceDependency : CIM_ProvidesServiceToElement {
31
32 [Override ( "Antecedent" ),
33 Description ( "The required Service." )]
34 CIM_Service REF Antecedent;
35
36 [Override ( "Dependent" ),
37 Description (
38 "The Service that is dependent on an underlying Service." )]
39 CIM_Service REF Dependent;
40
41 [Description (
42 "The nature of the Service-to-Service dependency. 2 - "
43 marek 1.1 "Antecedent Service shall have completed before Dependent "
44 "service\'s functionality is available.\n"
45 "3 - Antecedent Service shall have started before "
46 "Dependent service\'s functionality is available.\n"
47 "4 - Antecedent Service shall not be started in order for "
48 "Dependent service\'s functionality to be available.\n"
49 "5 - The two Services cooperate and augment each other\'s "
50 "function. There is no requirement implied by this value "
51 "regarding the execution of the Antecedent service in "
52 "order for the Dependent service to operate." ),
53 ValueMap { "0", "1", "2", "3", "4", "5" },
54 Values { "Unknown", "Other", "Service Must Have Completed",
55 "Service Must Be Started", "Service Must Not Be Started",
56 "Cooperate" }]
57 uint16 TypeOfDependency;
58
59 [Description (
60 "This property describes that the Antecedent Service must "
61 "be restarted after the Dependent operation is complete." )]
62 boolean RestartService;
63
64 marek 1.1
65 };
|