use of org.obeonetwork.dsl.database.dbevolution.UpdateForeignKey in project InformationSystem by ObeoNetwork.
the class UpdateForeignKeyItemProvider method getText.
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
@Override
public String getText(Object object) {
UpdateForeignKey updateForeignKey = (UpdateForeignKey) object;
ForeignKey foreignKey = updateForeignKey.getForeignKey();
return getString("_UI_UpdateForeignKey_type") + " " + foreignKey.getName();
}
use of org.obeonetwork.dsl.database.dbevolution.UpdateForeignKey in project InformationSystem by ObeoNetwork.
the class ForeignKeyChangeBuilder method createUpdateForeignKey.
protected UpdateForeignKey createUpdateForeignKey(ForeignKey fk, ForeignKey newFK, Match match) {
UpdateForeignKey updateFK = DbevolutionFactory.eINSTANCE.createUpdateForeignKey();
updateFK.setForeignKey(fk);
updateFK.setNewForeignKey(newFK);
fillDBDiff(updateFK, match);
return updateFK;
}
Aggregations