version 1.29, 2005/03/11 00:49:56
|
version 1.30, 2005/03/11 05:14:28
|
|
|
| |
if((pos != PEG_NOT_FOUND) && (referenceProperty.getQualifier(pos).getValue().equal(CIMValue(true)))) | if((pos != PEG_NOT_FOUND) && (referenceProperty.getQualifier(pos).getValue().equal(CIMValue(true)))) |
{ | { |
|
if(referenceProperty.getType() == CIMTYPE_REFERENCE) |
|
{ |
|
// ATTN: a fake reference is inserted in the key so that the _BubbleSort() method |
|
// in CIMObjectPath does not throw and exception. It implicitly validates keys of |
|
// type REFERENCE so just place a dummy value for now. The value will be replaced |
|
// by the normalized object later. |
|
keys.append(CIMKeyBinding(referenceProperty.getName(), "class.key=\"value\"", CIMKeyBinding::REFERENCE)); |
|
} |
|
else |
|
{ |
keys.append(CIMKeyBinding(referenceProperty.getName(), referenceProperty.getValue())); | keys.append(CIMKeyBinding(referenceProperty.getName(), referenceProperty.getValue())); |
} | } |
} | } |
|
} |
| |
// update class object path | // update class object path |
CIMObjectPath cimObjectPath(_cimClass.getPath()); | CIMObjectPath cimObjectPath(_cimClass.getPath()); |