use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class SingleSourceTableImpl method setTableReference.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTableReference(TableDefinition newTableReference) {
TableDefinition oldTableReference = tableReference;
tableReference = newTableReference;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SINGLE_SOURCE_TABLE__TABLE_REFERENCE, oldTableReference, tableReference));
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl 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;
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class UniqueConstraintImpl method setConflictClause.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setConflictClause(ConflictClause newConflictClause) {
if (newConflictClause != conflictClause) {
NotificationChain msgs = null;
if (conflictClause != null)
msgs = ((InternalEObject) conflictClause).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.UNIQUE_CONSTRAINT__CONFLICT_CLAUSE, null, msgs);
if (newConflictClause != null)
msgs = ((InternalEObject) newConflictClause).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.UNIQUE_CONSTRAINT__CONFLICT_CLAUSE, null, msgs);
msgs = basicSetConflictClause(newConflictClause, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.UNIQUE_CONSTRAINT__CONFLICT_CLAUSE, newConflictClause, newConflictClause));
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl 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;
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class UpdateColumnExpressionImpl method getColumnName.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ColumnDef getColumnName() {
if (columnName != null && columnName.eIsProxy()) {
InternalEObject oldColumnName = (InternalEObject) columnName;
columnName = (ColumnDef) eResolveProxy(oldColumnName);
if (columnName != oldColumnName) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE, SqliteModelPackage.UPDATE_COLUMN_EXPRESSION__COLUMN_NAME, oldColumnName, columnName));
}
}
return columnName;
}
Aggregations