if(rowId[i] != null && !rowId[i].equals("")) {
String elements[] = rowId[i].split("\\*");
if (elements.length != 2)
continue;
if (elements[1].equals("CATEGORY"))
ejb.deleteCategory(individualId, Integer.parseInt(elements[0]));
else if (elements[1].equals("KBELEMENT"))
ejb.deleteKB(individualId, Integer.parseInt(elements[0]));
else
continue;
}