* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetMainExpr(simplexExpression newMainExpr, NotificationChain msgs)
{
simplexExpression oldMainExpr = mainExpr;
mainExpr = newMainExpr;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, S3DPackage.POSTFIX_EXPRESSION__MAIN_EXPR, oldMainExpr, newMainExpr);
if (msgs == null) msgs = notification; else msgs.add(notification);