public void setPrototype(EOAttribute _prototype, boolean _updateFromPrototype) { EOAttribute oldPrototype = myPrototype; boolean prototypeNameChanged = true; if (_prototype == null && myPrototype == null) { prototypeNameChanged = false; } else if (ComparisonUtils.equals(_prototype, myPrototype)) { prototypeNameChanged = false; } myPrototype = _prototype; if (prototypeNameChanged && _updateFromPrototype) { _updateFromPrototype(); } firePropertyChange(EOAttribute.PROTOTYPE, oldPrototype, _prototype);
public void setPrototype(EOAttribute _prototype) { setPrototype(_prototype, true);
  public void setPrototype(EOAttribute _prototype, boolean _updateFromPrototype) {    EOAttribute oldPrototype = myPrototype;    boolean prototypeNameChanged = true;    if (_prototype == null && myPrototype == null) {      prototypeNameChanged = false;    }    else if (ComparisonUtils.equals(_prototype, myPrototype)) {      prototypeNameChanged = false;    }    myPrototype = _prototype;    if (prototypeNameChanged && _updateFromPrototype) {      _updateFromPrototype();    }    firePropertyChange(EOAttribute.PROTOTYPE, oldPrototype, _prototype);  }