boolean unusedNameFound = false; String unusedName = null;
boolean unusedNameFound = (getEntityNamed(_newName) == null); String unusedName = _newName;
  public String findUnusedEntityName(String _newName) {    boolean unusedNameFound = false;    String unusedName = null;    for (int dupeNameNum = 1; !unusedNameFound; dupeNameNum++) {      unusedName = _newName + dupeNameNum;      EOEntity renameEntity = getEntityNamed(unusedName);      unusedNameFound = (renameEntity == null);    }    return unusedName;  }