version 1.77, 2002/07/23 23:27:57
|
version 1.78, 2002/07/25 16:19:45
|
|
|
{ | { |
CIMConstProperty fromProp = assocClass.getProperty(i); | CIMConstProperty fromProp = assocClass.getProperty(i); |
| |
if (fromProp.getType() == CIMType::REFERENCE) |
if (fromProp.getType() == CIMTYPE_REFERENCE) |
{ | { |
for (Uint32 j = 0; j < n; j++) | for (Uint32 j = 0; j < n; j++) |
{ | { |
CIMConstProperty toProp = assocClass.getProperty(j); | CIMConstProperty toProp = assocClass.getProperty(j); |
| |
if (toProp.getType() == CIMType::REFERENCE && |
if (toProp.getType() == CIMTYPE_REFERENCE && |
fromProp.getName() != toProp.getName()) | fromProp.getName() != toProp.getName()) |
{ | { |
String fromClassName = fromProp.getReferenceClassName(); | String fromClassName = fromProp.getReferenceClassName(); |
|
|
| |
// If a reference property: | // If a reference property: |
| |
if (fromProp.getType() == CIMType::REFERENCE) |
if (fromProp.getType() == CIMTYPE_REFERENCE) |
{ | { |
// For each property: | // For each property: |
| |
|
|
| |
// If a reference property and not the same property: | // If a reference property and not the same property: |
| |
if (toProp.getType() == CIMType::REFERENCE && |
if (toProp.getType() == CIMTYPE_REFERENCE && |
fromProp.getName() != toProp.getName()) | fromProp.getName() != toProp.getName()) |
{ | { |
CIMObjectPath fromRef; | CIMObjectPath fromRef; |