code: public void setDefault(XExpression newDefault)
  	{
  		if (newDefault != default_)
  		{
  			NotificationChain msgs = null;
  			if (default_ != null)
  				msgs = ((InternalEObject)default_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XSWITCH_EXPRESSION__DEFAULT, null, msgs);
  			if (newDefault != null)
  				msgs = ((InternalEObject)newDefault).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XSWITCH_EXPRESSION__DEFAULT, null, msgs);
  			msgs = basicSetDefault(newDefault, msgs);
  			if (msgs != null) msgs.dispatch();
  		}
  		else if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, XbasePackage.XSWITCH_EXPRESSION__DEFAULT, newDefault, newDefault));
  	}
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated