if (classTokens[i].length() == 0)
{
continue;
}
RMDataSet ds = this.getClassContents(currentClassOrFolder,
false, false, false);
Rm2vClass [] classes = ds.getRm2vClass();
isMatchFound = false;
for (int j=0; j<classes.length; j++)
{
if (oLog != null && oLog.isDebugEnabled())
oLog.debug("Meridio: Comparing [" + classTokens[i] +"] with [" + classes[j].getName() + "]");
if (classTokens[i].compareTo(classes[j].getName()) == 0)
{
currentClassOrFolder = classes[j].getId();
isMatchFound = true;
break;
}
}
if (!isMatchFound)
{
/*=============================================================
* If we didn't find a match and we are at the last node then
* check to see if it is a folder
*============================================================*/
if (i == classTokens.length - 1)
{
Rm2vFolder [] folders = ds.getRm2vFolder();
for (int j=0; j<folders.length; j++)
{
if (classTokens[i].compareTo(folders[j].getName()) == 0)
{
currentClassOrFolder = folders[j].getId();