if (entity.getName().equals(_name)) {
if (ComparisonUtils.equals(entity.getName(), _name)) {
  public EOEntity getEntityNamed(String _name) {    EOEntity matchingEntity = null;    Iterator entitiesIter = myEntities.iterator();    while (matchingEntity == null && entitiesIter.hasNext()) {      EOEntity entity = (EOEntity) entitiesIter.next();      if (entity.getName().equals(_name)) {        matchingEntity = entity;      }    }    return matchingEntity;  }