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