logger.entering(sourceClass,Thread.currentThread().getName()+" "+ "classNameMatchesString");
//CIMClass cimclass=cimClass;
//Vector propertyNames=new Vector();
System.out.println("associationExists ->classnm.equalsIgnoreCase(str) "+className+" "+namespace+" "+str);
CIMObjectPath copOriginal=new CIMObjectPath(className,namespace);
CIMClass cimclass=_handle.getClass(copOriginal, true, true, true, null);
String classnm=cimclass.getName();
String superClass=cimclass.getSuperClass();
if(classnm.equalsIgnoreCase(str))
{
if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+" classNameMatchesString "+classnm+ " "+str);
logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "classNameMatchesString");
return true;
}
else if(superClass!= null)
{
while((superClass!= "")&&(superClass.length()!=0))
{
////System.out.println("superclass "+superClass);
if(superClass.equalsIgnoreCase(str))
{
if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+" classNameMatchesString "+superClass+ " "+str);
logger.exiting(sourceClass,Thread.currentThread().getName()+" "+ "classNameMatchesString");
return true;
}
else
{
if(logger.isLoggable(Level.FINE))
logger.fine(superClass+" did not Match "+str+" ,trying superclass");
CIMObjectPath cop=new CIMObjectPath(superClass,namespace);
cimclass=_handle.getClass(cop, true, true, true, null);
superClass=cimclass.getSuperClass();
if(logger.isLoggable(Level.FINE))
logger.fine(Thread.currentThread().getName()+" new superclass= "+superClass);