* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setActivationFunction(ACTIVATIONFUNCTION newActivationFunction) {
ACTIVATIONFUNCTION oldActivationFunction = activationFunction;
activationFunction = newActivationFunction == null ? ACTIVATION_FUNCTION_EDEFAULT : newActivationFunction;
boolean oldActivationFunctionESet = activationFunctionESet;
activationFunctionESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, _40Package.NEURAL_NETWORK_TYPE__ACTIVATION_FUNCTION, oldActivationFunction, activationFunction, !oldActivationFunctionESet));