Search in sources :

Example 6 with Expression

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

the class DeleteStatementImpl method basicSetExpression.

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

Example 7 with Expression

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

the class ExprAddImpl method basicSetRight.

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

Example 8 with Expression

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

the class CreateTriggerStatementImpl method basicSetWhenExpression.

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

Example 9 with Expression

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

the class CaseImpl method basicSetThenExpression.

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

Example 10 with Expression

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

the class CaseImpl method basicSetWhenExpression.

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

Aggregations

Expression (com.robotoworks.mechanoid.db.sqliteModel.Expression)39 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)38 SelectCoreExpression (com.robotoworks.mechanoid.db.sqliteModel.SelectCoreExpression)3 CaseExpression (com.robotoworks.mechanoid.db.sqliteModel.CaseExpression)2 CastExpression (com.robotoworks.mechanoid.db.sqliteModel.CastExpression)2 NullCheckExpression (com.robotoworks.mechanoid.db.sqliteModel.NullCheckExpression)2 UpdateColumnExpression (com.robotoworks.mechanoid.db.sqliteModel.UpdateColumnExpression)2 ColumnDef (com.robotoworks.mechanoid.db.sqliteModel.ColumnDef)1 ColumnSource (com.robotoworks.mechanoid.db.sqliteModel.ColumnSource)1 ColumnSourceRef (com.robotoworks.mechanoid.db.sqliteModel.ColumnSourceRef)1 ColumnType (com.robotoworks.mechanoid.db.sqliteModel.ColumnType)1 ExprConcat (com.robotoworks.mechanoid.db.sqliteModel.ExprConcat)1 Function (com.robotoworks.mechanoid.db.sqliteModel.Function)1 NestedExpression (com.robotoworks.mechanoid.db.sqliteModel.NestedExpression)1 ResultColumn (com.robotoworks.mechanoid.db.sqliteModel.ResultColumn)1 SelectExpression (com.robotoworks.mechanoid.db.sqliteModel.SelectExpression)1 SqliteDataType (com.robotoworks.mechanoid.db.sqliteModel.SqliteDataType)1