Search in sources :

Example 1 with PrimaryKeyChange

use of org.obeonetwork.dsl.database.dbevolution.PrimaryKeyChange in project InformationSystem by ObeoNetwork.

the class PrimaryKeyChangeItemProvider 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) {
    PrimaryKeyChange primaryKeyChange = (PrimaryKeyChange) object;
    PrimaryKey primaryKey = primaryKeyChange.getPrimaryKey();
    return getString("_UI_PrimaryKeyChange_type") + " " + primaryKey.getName();
}
Also used : PrimaryKeyChange(org.obeonetwork.dsl.database.dbevolution.PrimaryKeyChange) PrimaryKey(org.obeonetwork.dsl.database.PrimaryKey)

Aggregations

PrimaryKey (org.obeonetwork.dsl.database.PrimaryKey)1 PrimaryKeyChange (org.obeonetwork.dsl.database.dbevolution.PrimaryKeyChange)1