Search in sources :

Example 21 with Expression

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

the class ExpressionDefaultValueImpl 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.EXPRESSION_DEFAULT_VALUE__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 22 with Expression

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

the class ExprAddImpl 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_ADD__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 23 with Expression

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

the class ExprBitImpl 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_BIT__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 24 with Expression

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

the class ExprConcatImpl 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_CONCAT__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 25 with Expression

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

the class ExprConcatImpl 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_CONCAT__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