}
String oldName = myName;
if (myModel != null) {
myModel._checkForDuplicateEntityName(this, _name, null);
myModel._entityNameChanged(myOriginalName, oldName, _name);
myModel.getModelEvents().addEvent(new EOEntityRenamedEvent(this));
}
myName = _name;
if (_fireEvents) {
synchronizeNameChange(oldName, myName);
firePropertyChange(EOEntity.NAME, oldName, myName);