code: public void setBlock(XBlockExpression newBlock)
    {
      if (newBlock != block)
      {
        NotificationChain msgs = null;
        if (block != null)
          msgs = ((InternalEObject)block).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PureXbasePackage.MODEL__BLOCK, null, msgs);
        if (newBlock != null)
          msgs = ((InternalEObject)newBlock).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PureXbasePackage.MODEL__BLOCK, null, msgs);
        msgs = basicSetBlock(newBlock, msgs);
        if (msgs != null) msgs.dispatch();
      }
      else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, PureXbasePackage.MODEL__BLOCK, newBlock, newBlock));
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated