* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTerminationHandler(TerminationHandler newTerminationHandler, NotificationChain msgs) {
TerminationHandler oldTerminationHandler = terminationHandler;
terminationHandler = newTerminationHandler;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.SCOPE__TERMINATION_HANDLER, oldTerminationHandler, newTerminationHandler);
if (msgs == null) msgs = notification; else msgs.add(notification);
}