use of org.obeonetwork.dsl.database.dbevolution.RemovePrimaryKey in project InformationSystem by ObeoNetwork.
the class PrimaryKeyChangeBuilder method createRemovePrimaryKey.
protected RemovePrimaryKey createRemovePrimaryKey(PrimaryKey pk, ReferenceChange change) {
RemovePrimaryKey removePK = DbevolutionFactory.eINSTANCE.createRemovePrimaryKey();
removePK.setPrimaryKey(pk);
fillDBDiff(removePK, change);
return removePK;
}
use of org.obeonetwork.dsl.database.dbevolution.RemovePrimaryKey in project InformationSystem by ObeoNetwork.
the class RemovePrimaryKeyItemProvider 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) {
RemovePrimaryKey removePrimaryKey = (RemovePrimaryKey) object;
PrimaryKey primaryKey = removePrimaryKey.getPrimaryKey();
return getString("_UI_RemovePrimaryKey_type") + " " + primaryKey.getName();
}
Aggregations