* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCompareFunction(COMPAREFUNCTION newCompareFunction) {
COMPAREFUNCTION oldCompareFunction = compareFunction;
compareFunction = newCompareFunction == null ? COMPARE_FUNCTION_EDEFAULT : newCompareFunction;
boolean oldCompareFunctionESet = compareFunctionESet;
compareFunctionESet = true;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, _40Package.COMPARISON_MEASURE_TYPE__COMPARE_FUNCTION, oldCompareFunction, compareFunction, !oldCompareFunctionESet));