Search in sources :

Example 1 with CaseExpression

use of com.robotoworks.mechanoid.db.sqliteModel.CaseExpression in project mechanoid by robotoworks.

the class CaseExpressionImpl method basicSetCaseExpression.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetCaseExpression(Expression newCaseExpression, NotificationChain msgs) {
    Expression oldCaseExpression = caseExpression;
    caseExpression = newCaseExpression;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.CASE_EXPRESSION__CASE_EXPRESSION, oldCaseExpression, newCaseExpression);
        if (msgs == null)
            msgs = notification;
        else
            msgs.add(notification);
    }
    return msgs;
}
Also used : CaseExpression(com.robotoworks.mechanoid.db.sqliteModel.CaseExpression) Expression(com.robotoworks.mechanoid.db.sqliteModel.Expression) ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl)

Aggregations

CaseExpression (com.robotoworks.mechanoid.db.sqliteModel.CaseExpression)1 Expression (com.robotoworks.mechanoid.db.sqliteModel.Expression)1 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)1