public void setName(String _name, boolean _fireEvents) throws DuplicateFetchSpecNameException { myEntity._checkForDuplicateFetchSpecName(this, _name, null); String oldName = myName; myName = _name; if (_fireEvents) { firePropertyChange(EOFetchSpecification.NAME, oldName, myName); }
public void setName(String _name) throws DuplicateFetchSpecNameException { setName(_name, true);
  public void setName(String _name, boolean _fireEvents) throws DuplicateFetchSpecNameException {    myEntity._checkForDuplicateFetchSpecName(this, _name, null);    String oldName = myName;    myName = _name;    if (_fireEvents) {      firePropertyChange(EOFetchSpecification.NAME, oldName, myName);    }  }