code: public void setTypeGuard(JvmTypeReference newTypeGuard)
  	{
  		if (newTypeGuard != typeGuard)
  		{
  			NotificationChain msgs = null;
  			if (typeGuard != null)
  				msgs = ((InternalEObject)typeGuard).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XCASE_PART__TYPE_GUARD, null, msgs);
  			if (newTypeGuard != null)
  				msgs = ((InternalEObject)newTypeGuard).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XCASE_PART__TYPE_GUARD, null, msgs);
  			msgs = basicSetTypeGuard(newTypeGuard, msgs);
  			if (msgs != null) msgs.dispatch();
  		}
  		else if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, XbasePackage.XCASE_PART__TYPE_GUARD, newTypeGuard, newTypeGuard));
  	}
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated