org.setName(getNewName() + "_" + org.getName());
} else {
org.setName(replace(org.getName(), originalName));
}
} else if (bob instanceof Warehouse) {
final Warehouse wh = (Warehouse) bob;
if (wh.getName().indexOf(originalName) == -1) {
wh.setName(getNewName() + "_" + wh.getName());
} else {
wh.setName(replace(wh.getName(), originalName));
}
// } else if (bob instanceof GLCategory) {
// final GLCategory glCategory = (GLCategory) bob;
// glCategory.setName(replace(glCategory.getName(), originalName));
// } else if (bob instanceof DocumentType) {