use of com.robotoworks.mechanoid.db.sqliteModel.TableDefinition 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 com.robotoworks.mechanoid.db.sqliteModel.TableDefinition in project mechanoid by robotoworks.
the class StatementSequenceValidator method _sequence.
protected void _sequence(final AlterTableRenameStatement stmt) {
TableDefinition _table = stmt.getTable();
String _name = _table.getName();
this.tables.remove(_name);
String _name_1 = stmt.getName();
this.tables.add(_name_1);
}
use of com.robotoworks.mechanoid.db.sqliteModel.TableDefinition in project mechanoid by robotoworks.
the class DeleteStatementImpl method setTable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTable(TableDefinition newTable) {
TableDefinition oldTable = table;
table = newTable;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.DELETE_STATEMENT__TABLE, oldTable, table));
}
use of com.robotoworks.mechanoid.db.sqliteModel.TableDefinition in project mechanoid by robotoworks.
the class CreateIndexStatementImpl method setTable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTable(TableDefinition newTable) {
TableDefinition oldTable = table;
table = newTable;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.CREATE_INDEX_STATEMENT__TABLE, oldTable, table));
}
use of com.robotoworks.mechanoid.db.sqliteModel.TableDefinition in project mechanoid by robotoworks.
the class AlterTableAddColumnStatementImpl method setTable.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setTable(TableDefinition newTable) {
TableDefinition oldTable = table;
table = newTable;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, SqliteModelPackage.ALTER_TABLE_ADD_COLUMN_STATEMENT__TABLE, oldTable, table));
}
Aggregations