# Class CIM_MethodParameters
extends 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.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_MethodParameters

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Abstract | boolean | true
Description | string | 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.
UMLPackagePath | string | CIM::Core::MethodParms
Version | string | 2.10.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
MethodParametersId | string |
Description | string | The identifier by which the MethodParameters object is known.
MaxLen | uint32 | 256

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
Description | string | CIM_ManagedElement
ElementName | string | CIM_ManagedElement
Generation | uint64 | CIM_ManagedElement
InstanceID | string | CIM_ManagedElement

## Class Methods

### Local Class Methods

#### ResetValues (uint32)

#### Method Qualifiers (ResetValues)

Name | Data Type | Value
--- | --- | ---
Description | string | 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.

#### Method Parameters (ResetValues)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
SourceME | REF CIM_ManagedElement
Description | string | The source ManagedElement.
IN | boolean | true