* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetP_switch_body(SwitchBodyAst newP_switch_body, NotificationChain msgs) {
SwitchBodyAst oldP_switch_body = p_switch_body;
p_switch_body = newP_switch_body;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, QvtAstPackage.SWITCH_EXP_AST__PSWITCH_BODY, oldP_switch_body, newP_switch_body);
if (msgs == null) msgs = notification; else msgs.add(notification);
}