/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public FunctionEvaluationValue createFunctionEvaluationValue() { FunctionEvaluationValueImpl functionEvaluationValue = new FunctionEvaluationValueImpl(); return functionEvaluationValue; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setExpression(XExpression newExpression) { if (newExpression != expression) { NotificationChain msgs = null; if (expression != null) msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION, null, msgs); if (newExpression != null) msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION, null, msgs); msgs = basicSetExpression(newExpression, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION, newExpression, newExpression)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION: setExpression((XExpression)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION: return basicSetExpression(null, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION: return getExpression(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetExpression(XExpression newExpression, NotificationChain msgs) { XExpression oldExpression = expression; expression = newExpression; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION, oldExpression, newExpression); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case PatternLanguagePackage.FUNCTION_EVALUATION_VALUE__EXPRESSION: setExpression((XExpression)null); return; } super.eUnset(featureID); }