Core\CIM_MethodParameters.mof.mof (HTML version)

Return to index
CIM_MethodParameters Superclass: CIM_ManagedElement
CIM_MethodParameters represents a set of values to be used as the parameters of a method. These parameters can be passed to the method, directly used by the method in its invocation, or accessed by the method when it is called. The properties of a concrete subclass of MethodParameters are mapped to the parameters of a method by the method itself or by the method caller. This mapping is an implementation detail that is independent of the definition of the class. For ease of use, property names should match parameter names.
Property values should be set before the method is invoked. The ModelCorrespondence qualifier can be used to indicate if the property value should come from the property of another class. The instances that the property values should be gleaned from should be associated with MethodParameters using the Parameter ValueSources association.
If the property is declared as an array, then the same property value (identified by the Model Correspondence) will be retrieved from all appropriate ParameterValueSources instances and stored in the array.
If the property is declared as an array and the Model Correspondence is to an array property, then only one instance of the array will be copied from one ParameterValueSource.
If the property is not declared as an array and there are multiple instances of the class and property associated with it through ModelCorrespondence where the values are not all the same, then an error will occur and the value of the property will not be set.
Several MethodParameters instances can be associated with any of the ManagedElement methods. This association allows the maintenance of 'canned' method invocation and reduces the overhead of re-creating all method parameters for every method invocation.
Qualifiers:Abstract Version ( "2.10.0" )
Parameters (local in grey)
MaxLen ( 256 )
string MethodParametersId ;
The identifier by which the MethodParameters object is known.
uint32ResetValues(
The source ManagedElement.
Qualifiers:IN
CIM_ManagedElement REF SourceME
)
The resetValues method updates the values of the properties of MethodParameters, which have ModelCorrespondence to the SourceME ManagedElement. This update allows several source candidates to be associated with the MethodParameters and one candidate to be selected as the source for this set of values. If resetValues is invoked and sourceME is null, then all associated ManagedElements in ParameterValueSources will be used to set the values of the MethodParameters properties.
MaxLen ( 64 )
string Caption ;
The Caption property is a short textual description (one- line string) of the object.
string Description ;
The Description property provides a textual description of the object.
string ElementName ;
A 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.