boolean unusedNameFound = false; String unusedName = null;
boolean unusedNameFound = (getAttributeNamed(_newName) == null); String unusedName = _newName;
  public String findUnusedAttributeName(String _newName) {    boolean unusedNameFound = false;    String unusedName = null;    for (int dupeNameNum = 1; !unusedNameFound; dupeNameNum++) {      unusedName = _newName + dupeNameNum;      EOAttribute renameAttribute = getAttributeNamed(unusedName);      unusedNameFound = (renameAttribute == null);    }    return unusedName;  }