CIM211 Class Declaration
CIM_UnitOfWork

Table of Contents:
Class Hierarchy
Class Attributes
Class Qualifiers
Properties
Methods
Associations in which the class can participate
Sub Profiling Summary

Class Hierarchy

CIM_UnitOfWork --> CIM_ManagedElement --> [top]

Class Attributes

Class Declaration Attributes
NameValue
SUPERCLASSCIM_ManagedElement
NAMECIM_UnitOfWork

Class Qualifiers

Class CIM_UnitOfWork Qualifiers
NameTypeValueFrom Class
Versionstring2.7.0 CIM_UnitOfWork
DescriptionstringEach instance of UnitOfWork identifies a transaction that is either in-process or already completed. Because instances of ’ in-process ’ UnitsOfWork can be very short-lived and there can be a great number of active ones, use of this class as an instrumentation source for determining response time may be incorrect or inefficient, unless the rate and duration of the UnitsOfWork are known. The intended use is to respond to queries about currently active or recently completed UnitsOfWork. The length of time that a UnitOfWork instance exists after the UnitOfWork completes is not defined and should be assumed to be implementation-dependent. This class is weak to its definition (CIM_UnitOfWorkDefintion). CIM_UnitOfWork
DescriptionstringManagedElement is an abstract class that provides a common superclass (or top of the inheritance tree) for the non-association classes in the CIM Schema. CIM_ManagedElement

Properties

Properties
NameTypeValueQualifiersClassOrigin
Descriptionstring Override
Description
CIM_UnitOfWork
Idsint64 Key
Description
CIM_UnitOfWork
UoWDefIdstring Key
Propagated
Description
MaxLen
CIM_UnitOfWork
UserNamestring Description CIM_UnitOfWork
StartTimedatetime Description CIM_UnitOfWork
ElapsedTimedatetime Description CIM_UnitOfWork
Statusuint16 Description
ValueMap
Values
CIM_UnitOfWork
TraceLeveluint32 Description CIM_UnitOfWork
MutualContextIdstring Description CIM_UnitOfWork
Captionstring Description
MaxLen
CIM_ManagedElement
ElementNamestring Description CIM_ManagedElement

Property Qualifiers

Property Description Qualifiers
NameTypeValueFrom Class
OverridestringDescription CIM_UnitOfWork
DescriptionstringSince UnitOfWork is designed to be an extremely lightweight object, it is recommended that this property not be used. The Description specified for the instance ’ s associated CIM_UnitOfWorkDefintion should apply. CIM_UnitOfWork

Property Id Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_UnitOfWork
DescriptionstringThe identifier of the UnitOfWork, within the context of the UnitOfWorkDefinition. CIM_UnitOfWork

Property UoWDefId Qualifiers
NameTypeValueFrom Class
Keybooleantrue CIM_UnitOfWork
PropagatedstringCIM_UnitOfWorkDefinition.Id CIM_UnitOfWork
DescriptionstringA 16 byte value that uniquely identifies the UnitOfWork Definition. The use of OSF UUID/GUIDs is recommended. CIM_UnitOfWork
MaxLenuint3216 CIM_UnitOfWork

Property UserName Qualifiers
NameTypeValueFrom Class
DescriptionstringThe name of the user who initiated the UnitOfWork. This may be a real user ’ s login name or a logical name representing an application. CIM_UnitOfWork

Property StartTime Qualifiers
NameTypeValueFrom Class
DescriptionstringThe time that the UnitOfWork was started. CIM_UnitOfWork

Property ElapsedTime Qualifiers
NameTypeValueFrom Class
DescriptionstringThe elapsed time since the UnitOfWork was started. Upon completion of the UnitOfWork, this property contains the total amount of time taken in processing the entire UnitOfWork. CIM_UnitOfWork

Property Status Qualifiers
NameTypeValueFrom Class
DescriptionstringAn enumeration identifing the status of the UnitOfWork. Most of the property values are self-explanatory, but a few need additional text: 3= " Completed " - Should be used to represent a ’ completed ’ transaction whose status ( ’ good ’ , ’ failed ’ or ’ aborted ’ ) is unknown. 6= " Completed Aborted " - Should be used when a UnitOfWork has completed but was not allowed to end normally. An example would be when the Stop or Back buttons are selected from a web browser, before a page is fully loaded. CIM_UnitOfWork
ValueMapstring
[See below.]
CIM_UnitOfWork
ValuesstringActive
Suspended
Completed
Completed Good
Completed Failed
Completed Aborted
CIM_UnitOfWork

NameValue
1Active
2Suspended
3Completed
4Completed Good
5Completed Failed
6Completed Aborted
Property TraceLevel Qualifiers
NameTypeValueFrom Class
DescriptionstringIndicates the granularity at which traces are written for this particular instance of UnitOfWork. Traces allow providing more detailed information on the course of the execution of the UnitOfWork than just the status and the elapsed time. The trace level does not indicate where the traces are found (i.e. in which file or CIM instances). TraceLevel cannot be set (i.e. written) since an instance of UnitOfWork only publishes information. So, the application code that executes the unit of work must receive the desired trace level by its caller (e.g. the parent module, the user or some remote system that initiates the unit of work). If its value is 0, no traces are available. If its value is > 0, traces are available. Except 0, the possible values and their semantics are implementation dependent. Two instances of UnitOfWork (even with the same definition) may have different trace levels since the desired or required granularity of traces may be dependent on the execution context (detection of an error, analysis of an error, etc.) of the unit of work. The trace level can be encoded as a bit map (each individual bit indicates a certain trace type and/or level of detail) or numbers (that are further defined by a value map). No encoding scheme is imposed since no general rules or standards exist and in consequence, application developers could reuse their existing trace level scheme. CIM_UnitOfWork

Property MutualContextId Qualifiers
NameTypeValueFrom Class
DescriptionstringA string that uniquely identifies the mutual context of UnitOfWork instances. The context is defined as an individual action that several UnitOfWork instances participate in. The use of Ids such as OSF UUID/GUIDs is recommended, although some implementations may require longer Ids. (This is the reason why no maxlen(16) qualifier has been used.) MutualContextId explicitly identifies the context for instances of UnitOfWork, that is otherwise provided implicitly by SubUoW association instances. In addition, one can query directly (i.e. without following the associations) for UnitOfWork instances that participate in some individual action (i.e., the mutual context). If no mutual context is needed or if it is not supported by the implementation, the value is NULL. Note that the MutualContextId value is to be transferred internally between the participating UnitOfWork implementations such that each UnitOfWork instance implementation receives its value from its predecessor/parent or initially creates the value if it is the first instance of the context. CIM_UnitOfWork

Property Caption Qualifiers
NameTypeValueFrom Class
DescriptionstringThe Caption property is a short textual description (one- line string) of the object. CIM_ManagedElement
MaxLenuint3264 CIM_ManagedElement

Property Description Qualifiers
NameTypeValueFrom Class
DescriptionstringThe Description property provides a textual description of the object. CIM_ManagedElement

Property ElementName Qualifiers
NameTypeValueFrom Class
DescriptionstringA user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information. Note that the Name property of ManagedSystemElement is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties. CIM_ManagedElement

Methods

Method Qualifiers

Parameters

Parameter Qualifiers

Associations this class can participate in

Association
Class
Reference
Class
Role
CIM_UoWMetricCIM_UnitOfWorkAntecedent
CIM_LogicalElementPerformsUoWCIM_UnitOfWorkDependent
CIM_SubUoWCIM_UnitOfWorkAntecedent
CIM_SubUoWCIM_UnitOfWorkDependent
CIM_StartedUoWCIM_UnitOfWorkDependent
CIM_ComponentCIM_ManagedElementGroupComponent
CIM_ComponentCIM_ManagedElementPartComponent
CIM_ConcreteComponentCIM_ManagedElementGroupComponent
CIM_ConcreteComponentCIM_ManagedElementPartComponent
CIM_CredentialContextCIM_ManagedElementElementProvidingContext
CIM_DefaultElementCapabilitiesCIM_ManagedElementManagedElement
CIM_DependencyCIM_ManagedElementAntecedent
CIM_DependencyCIM_ManagedElementDependent
CIM_HostedDependencyCIM_ManagedElementAntecedent
CIM_HostedDependencyCIM_ManagedElementDependent
CIM_ScopedSettingCIM_ManagedElementAntecedent
CIM_MetricDefForMECIM_ManagedElementAntecedent
CIM_MetricForMECIM_ManagedElementAntecedent
CIM_RelatedElementCausingErrorCIM_ManagedElementDependent
CIM_RelatedElementCausingErrorCIM_ManagedElementAntecedent
CIM_SparedCIM_ManagedElementAntecedent
CIM_SparedCIM_ManagedElementDependent
CIM_ConcreteDependencyCIM_ManagedElementAntecedent
CIM_ConcreteDependencyCIM_ManagedElementDependent
CIM_ElementAsUserCIM_ManagedElementAntecedent
CIM_RecordAppliesToElementCIM_ManagedElementDependent
CIM_AuthenticationTargetCIM_ManagedElementDependent
CIM_AuthorizationSubjectCIM_ManagedElementDependent
CIM_AuthorizationTargetCIM_ManagedElementDependent
CIM_ElementSoftwareIdentityCIM_ManagedElementDependent
CIM_IsSpareCIM_ManagedElementAntecedent
CIM_ProvidesServiceToElementCIM_ManagedElementDependent
CIM_ElementCapabilitiesCIM_ManagedElementManagedElement
CIM_IdentityContextCIM_ManagedElementElementProvidingContext
CIM_LogicalIdentityCIM_ManagedElementSystemElement
CIM_LogicalIdentityCIM_ManagedElementSameElement
CIM_ConcreteIdentityCIM_ManagedElementSystemElement
CIM_ConcreteIdentityCIM_ManagedElementSameElement
CIM_SWRManageableAspectCIM_ManagedElementSystemElement
CIM_MemberOfCollectionCIM_ManagedElementMember
CIM_MemberPrincipalCIM_ManagedElementMember
CIM_ElementInPolicyRoleCollectionCIM_ManagedElementMember
CIM_OwningCollectionElementCIM_ManagedElementOwningElement
CIM_ParametersForMethodCIM_ManagedElementTheMethod
CIM_ParameterValueSourcesCIM_ManagedElementValueSource
CIM_PolicySetAppliesToElementCIM_ManagedElementManagedElement
CIM_AuthorizationRuleAppliesToTargetCIM_ManagedElementManagedElement
CIM_RoleLimitedToTargetCIM_ManagedElementTargetElement
CIM_StatisticsCIM_ManagedElementElement
CIM_SynchronizedCIM_ManagedElementSystemElement
CIM_SynchronizedCIM_ManagedElementSyncedElement
CIM_StorageSynchronizedCIM_ManagedElementSystemElement
CIM_StorageSynchronizedCIM_ManagedElementSyncedElement
CIM_AssignedIdentityCIM_ManagedElementManagedElement
CIM_AuthorizedSubjectCIM_ManagedElementPrivilegedElement
CIM_AuthorizedTargetCIM_ManagedElementTargetElement
CIM_ElementConformsToProfileCIM_ManagedElementManagedElement
CIM_ElementLocationCIM_ManagedElementElement
CIM_ElementProfileCIM_ManagedElementManagedElement
CIM_ElementSecuritySensitivityCIM_ManagedElementManagedElement
CIM_ElementSettingDataCIM_ManagedElementManagedElement
CIM_ElementStatisticalDataCIM_ManagedElementManagedElement
CIM_OwningJobElementCIM_ManagedElementOwningElement
CIM_AffectedJobElementCIM_ManagedElementAffectedElement
CIM_ServiceAffectsElementCIM_ManagedElementAffectedElement
CIM_ServiceAvailableToElementCIM_ManagedElementUserOfService
CIM_SAPAvailableForElementCIM_ManagedElementManagedElement
CIM_ManagementSAPCIM_ManagedElementManagedElement