version 1.68, 2005/03/09 00:24:18
|
version 1.69, 2005/03/15 17:24:48
|
|
|
const String & message); | const String & message); |
| |
/** | /** |
Validates the specified property and its corresponding Other___ |
Validates the specified Uint16 (non-array) property and its |
property in the instance. |
corresponding String (non-array) Other___ property in the instance. |
If the property does not exist, it is added with the default value. | If the property does not exist, it is added with the default value. |
If the property exists, but its value is NULL, its value is set to | If the property exists, but its value is NULL, its value is set to |
the default value. | the default value. |
|
|
the default value. | the default value. |
This function is called by the _canCreate function, and is used to | This function is called by the _canCreate function, and is used to |
validate the Source Namespace property in Filter instances. | validate the Source Namespace property in Filter instances. |
|
This function is also called by the _initOrValidateStringProperty |
|
function to validate the CreationClassName, SystemName, and |
|
SystemCreationClassName key properties in Filter and Handler instances. |
| |
Note: currently all properties validated by this function are of type | Note: currently all properties validated by this function are of type |
String. To use this function in the future with properties of other | String. To use this function in the future with properties of other |
types, a type parameter would need to be added, and the default value | types, a type parameter would need to be added, and the default value |
would need to be passed as a CIMValue instead of a String. | would need to be passed as a CIMValue instead of a String. |
| |
|
Note: currently all properties validated by this function are non-array |
|
properties. To use this function in the future with both array and |
|
non-array properties, a Boolean isArray parameter would need to be |
|
added. |
|
|
@param instance instance to be validated | @param instance instance to be validated |
@param propertyName name of property to be validated | @param propertyName name of property to be validated |
@param defaultValue default value for property | @param defaultValue default value for property |
|
|
types, a type parameter would need to be added, and the default value | types, a type parameter would need to be added, and the default value |
would need to be passed as a CIMValue instead of a String. | would need to be passed as a CIMValue instead of a String. |
| |
|
Note: currently all properties validated by this function are non-array |
|
properties. To use this function in the future with both array and |
|
non-array properties, a Boolean isArray parameter would need to be |
|
added. |
|
|
@param instance instance to be validated | @param instance instance to be validated |
@param propertyName name of property to be validated | @param propertyName name of property to be validated |
@param defaultValue default value for property | @param defaultValue default value for property |
|
|
property in Handler instances, and the PortNumber, SNMPSecurityName, | property in Handler instances, and the PortNumber, SNMPSecurityName, |
and SNMPEngineID properties in SNMP Mapper Handler instances. | and SNMPEngineID properties in SNMP Mapper Handler instances. |
| |
|
Note: currently all properties validated by this function are non-array |
|
properties. To use this function in the future with both array and |
|
non-array properties, a Boolean isArray parameter would need to be |
|
added. |
|
|
@param instance instance to be validated | @param instance instance to be validated |
@param propertyName name of property to be validated | @param propertyName name of property to be validated |
@param expectedType expected CIMType for property | @param expectedType expected CIMType for property |