use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class SelectExpressionImpl method setSelectList.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setSelectList(SelectList newSelectList) {
if (newSelectList != selectList) {
NotificationChain msgs = null;
if (selectList != null)
msgs = ((InternalEObject) selectList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_EXPRESSION__SELECT_LIST, null, msgs);
if (newSelectList != null)
msgs = ((InternalEObject) newSelectList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_EXPRESSION__SELECT_LIST, null, msgs);
msgs = basicSetSelectList(newSelectList, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_EXPRESSION__SELECT_LIST, newSelectList, newSelectList));
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class SelectExpressionImpl method basicSetSelectList.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSelectList(SelectList newSelectList, NotificationChain msgs) {
SelectList oldSelectList = selectList;
selectList = newSelectList;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_EXPRESSION__SELECT_LIST, oldSelectList, newSelectList);
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 SelectExpressionImpl method basicSetSource.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSource(JoinSource newSource, NotificationChain msgs) {
JoinSource oldSource = source;
source = newSource;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_EXPRESSION__SOURCE, oldSource, newSource);
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 SelectExpressionImpl method setWhere.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setWhere(WhereExpressions newWhere) {
if (newWhere != where) {
NotificationChain msgs = null;
if (where != null)
msgs = ((InternalEObject) where).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_EXPRESSION__WHERE, null, msgs);
if (newWhere != null)
msgs = ((InternalEObject) newWhere).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_EXPRESSION__WHERE, null, msgs);
msgs = basicSetWhere(newWhere, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_EXPRESSION__WHERE, newWhere, newWhere));
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project mechanoid by robotoworks.
the class SelectStatementExpressionImpl method setSelect.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setSelect(SelectStatement newSelect) {
if (newSelect != select) {
NotificationChain msgs = null;
if (select != null)
msgs = ((InternalEObject) select).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_STATEMENT_EXPRESSION__SELECT, null, msgs);
if (newSelect != null)
msgs = ((InternalEObject) newSelect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SqliteModelPackage.SELECT_STATEMENT_EXPRESSION__SELECT, null, msgs);
msgs = basicSetSelect(newSelect, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_STATEMENT_EXPRESSION__SELECT, newSelect, newSelect));
}
Aggregations