Search in sources :

Example 36 with Expression

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

the class ExprAndImpl 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_AND__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 37 with Expression

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

the class ExprAndImpl method basicSetLeft.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) {
    Expression oldLeft = left;
    left = newLeft;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.EXPR_AND__LEFT, oldLeft, newLeft);
        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 38 with Expression

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

the class ExprBitImpl method basicSetLeft.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) {
    Expression oldLeft = left;
    left = newLeft;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.EXPR_BIT__LEFT, oldLeft, newLeft);
        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 39 with Expression

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

the class ExprEqualImpl method basicSetLeft.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public NotificationChain basicSetLeft(Expression newLeft, NotificationChain msgs) {
    Expression oldLeft = left;
    left = newLeft;
    if (eNotificationRequired()) {
        ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.EXPR_EQUAL__LEFT, oldLeft, newLeft);
        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