use of org.obeonetwork.dsl.database.dbevolution.RemoveForeignKey in project InformationSystem by ObeoNetwork.
the class RemoveForeignKeyItemProvider 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) {
RemoveForeignKey removeForeignKey = (RemoveForeignKey) object;
ForeignKey foreignKey = removeForeignKey.getForeignKey();
return getString("_UI_RemoveForeignKey_type") + " " + foreignKey.getName();
}
use of org.obeonetwork.dsl.database.dbevolution.RemoveForeignKey in project InformationSystem by ObeoNetwork.
the class ForeignKeyChangeBuilder method createRemoveForeignKey.
protected RemoveForeignKey createRemoveForeignKey(ForeignKey fk, ReferenceChange change) {
RemoveForeignKey removeFK = DbevolutionFactory.eINSTANCE.createRemoveForeignKey();
removeFK.setForeignKey(fk);
fillDBDiff(removeFK, change);
return removeFK;
}
Aggregations