* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFunction(FunctionType newFunction) {
FunctionType oldFunction = function;
function = newFunction == null ? FUNCTION_EDEFAULT : newFunction;
boolean oldFunctionESet = functionESet;
functionESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, _40Package.AGGREGATE_TYPE__FUNCTION, oldFunction, function, !oldFunctionESet));