The following example shows you how to output the table name for the DownloadTableData instance. This example assumes you have a DBConnectionContext instance named _cc.
// The method used for the handle_DownloadData event
public void handleDownload() throws SQLException {
// Get the DownloadData for the current synchronization.
DownloadData my_dd = _cc.getDownloadData();
// Get the DownloadTableData for the remoteOrders table.
DownloadTableData td = my_dd.getDownloadTableByName("remoteOrders");
// Print the table name to standard output (remoteOrders)
System.out.println(td.getName());
// User defined-methods to set download operations.
setDownloadInserts(td);
setDownloadDeletes(td);
// ...
}