1 karl 1.1.2.2 // Copyright (c) 2009 DMTF. All rights reserved.
2 [Version ( "2.22.0" ),
3 UMLPackagePath ( "CIM::Core::Service" ),
4 Description (
5 "The TimeService manages time (retrieves or sets time) for one "
6 "or more elements in a system. All elements to which the "
7 "Service applies are associated using ServiceAffectsElement." )]
8 class CIM_TimeService : CIM_Service {
9
10
11 [Description (
12 "This method gets or sets the time for the specified element."
13 ),
14 ValueMap { "0", "1", "2", "3", "4", "5", "6..32767",
15 "32768..65535" },
16 Values { "Success", "Not Supported", "Unknown", "Timeout",
17 "Failed", "Invalid Parameter", "DMTF Reserved",
18 "Vendor Specific" }]
19 uint32 ManageTime(
20 [IN, Description (
21 "Indicates whether the request is to get (TRUE) or "
22 karl 1.1.2.2 "set (FALSE) the time for the specified element." )]
23 boolean GetRequest,
24 [IN, OUT, Description (
25 "The current date and time. On input, this value is "
26 "the time that is set on the specified element, if "
27 "the GetRequest input parameter is TRUE. Otherwise, "
28 "the input time is ignored. On output, this value "
29 "is the time as it is known by the element." )]
30 datetime TimeData,
31 [Required, IN, Description (
32 "A reference to the ManagedElement whose time is "
33 "retrieved or set. This reference is necessary "
34 "because the TimeService might apply to multiple "
35 "elements simultaneously. The referenced element "
36 "must be associated with the Service using the "
37 "ServiceAffectsElement relationship." )]
38 CIM_ManagedElement REF ManagedElement);
39
40 };
|