use of com.robotoworks.mechanoid.db.sqliteModel.SelectCoreExpression in project mechanoid by robotoworks.
the class SelectCoreImpl method basicSetRight.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetRight(SelectCoreExpression newRight, NotificationChain msgs) {
SelectCoreExpression oldRight = right;
right = newRight;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_CORE__RIGHT, oldRight, newRight);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.robotoworks.mechanoid.db.sqliteModel.SelectCoreExpression in project mechanoid by robotoworks.
the class SelectCoreImpl method basicSetLeft.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetLeft(SelectCoreExpression newLeft, NotificationChain msgs) {
SelectCoreExpression oldLeft = left;
left = newLeft;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SqliteModelPackage.SELECT_CORE__LEFT, oldLeft, newLeft);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of com.robotoworks.mechanoid.db.sqliteModel.SelectCoreExpression in project mechanoid by robotoworks.
the class StatementSequenceValidator method _validateStatement.
protected void _validateStatement(final StatementSequenceValidatorResult result, final CreateViewStatement stmt) {
String _name = stmt.getName();
boolean _nameExists = this.nameExists(_name);
if (_nameExists) {
result.valid = false;
result.message = "Name conflict, use another name";
result.feature = SqliteModelPackage.Literals.TABLE_DEFINITION__NAME;
} else {
SelectStatement _selectStatement = stmt.getSelectStatement();
SelectCoreExpression _core = _selectStatement.getCore();
this.validateTablesInExpression(result, _core);
}
}
Aggregations