Search in sources :

Example 1 with ConflictClause

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

the class UniqueConstraintImpl method basicSetConflictClause.

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

Example 2 with ConflictClause

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

the class UniqueTableConstraintImpl method basicSetConflictClause.

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

Example 3 with ConflictClause

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

the class PrimaryConstraintImpl method basicSetConflictClause.

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

Example 4 with ConflictClause

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

the class NotNullConstraintImpl method basicSetConflictClause.

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

Aggregations

ConflictClause (com.robotoworks.mechanoid.db.sqliteModel.ConflictClause)4 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)4