Search in sources :

Example 1 with ConflictResolution

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

the class UpdateStatementImpl method setConflictResolution.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setConflictResolution(ConflictResolution newConflictResolution) {
    ConflictResolution oldConflictResolution = conflictResolution;
    conflictResolution = newConflictResolution == null ? CONFLICT_RESOLUTION_EDEFAULT : newConflictResolution;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.UPDATE_STATEMENT__CONFLICT_RESOLUTION, oldConflictResolution, conflictResolution));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) ConflictResolution(com.robotoworks.mechanoid.db.sqliteModel.ConflictResolution)

Example 2 with ConflictResolution

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

the class ConflictClauseImpl method setResolution.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setResolution(ConflictResolution newResolution) {
    ConflictResolution oldResolution = resolution;
    resolution = newResolution == null ? RESOLUTION_EDEFAULT : newResolution;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.CONFLICT_CLAUSE__RESOLUTION, oldResolution, resolution));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) ConflictResolution(com.robotoworks.mechanoid.db.sqliteModel.ConflictResolution)

Example 3 with ConflictResolution

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

the class InsertStatementImpl method setConflictResolution.

/**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
public void setConflictResolution(ConflictResolution newConflictResolution) {
    ConflictResolution oldConflictResolution = conflictResolution;
    conflictResolution = newConflictResolution == null ? CONFLICT_RESOLUTION_EDEFAULT : newConflictResolution;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.INSERT_STATEMENT__CONFLICT_RESOLUTION, oldConflictResolution, conflictResolution));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) ConflictResolution(com.robotoworks.mechanoid.db.sqliteModel.ConflictResolution)

Aggregations

ConflictResolution (com.robotoworks.mechanoid.db.sqliteModel.ConflictResolution)3 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)3