version 1.61, 2004/06/30 22:18:26
|
version 1.62, 2004/10/07 13:51:08
|
|
|
{ | { |
CIMProperty& property = _properties[i]; | CIMProperty& property = _properties[i]; |
| |
if (!isAssociationClass && |
if(property.getValue().getType() == CIMTYPE_REFERENCE) |
property.getValue().getType() == CIMTYPE_REFERENCE) |
{ |
|
if (!isAssociationClass) |
{ | { |
//l10n | //l10n |
//throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_PARAMETER, | //throw PEGASUS_CIM_EXCEPTION(CIM_ERR_INVALID_PARAMETER, |
|
|
"Non-assocation class contains reference property")); | "Non-assocation class contains reference property")); |
| |
} | } |
|
if(property.getReferenceClassName().isNull()) |
|
{ |
|
throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_INVALID_PARAMETER, |
|
MessageLoaderParms("Common.CIMClassRep.REFERENCE_PROPERTY_MISSING_REFERENCE_CLASS_NAME", |
|
"Reference Property for CIMClass Definition missing ReferenceClass Name")); |
|
} |
|
} |
|
|
| |
Uint32 index = superClass.findProperty(property.getName()); | Uint32 index = superClass.findProperty(property.getName()); |
| |