text = fetchSpec.getName();
} else if (_element instanceof EOArgument) {
EOArgument argument = (EOArgument) _element;
text = argument.getName();
} else if (_element instanceof EOStoredProcedure) {
EOStoredProcedure storedProcedure = (EOStoredProcedure) _element;
text = storedProcedure.getName();
} else if (_element instanceof EODatabaseConfig) {
EODatabaseConfig databaseConfig = (EODatabaseConfig) _element;
text = databaseConfig.getName();
} else if (_element instanceof EOEntityIndex) {
EOEntityIndex entityIndex = (EOEntityIndex) _element;