static InterchangeDataTable getInterchangeDataTable(Collection<EntityPipelinePlugin> pipelinePlugins) {
if ( pipelinePlugins == null || pipelinePlugins.size() == 0 ) {
return null;
}
InterchangeDataTable retval = new InterchangeDataTable();
retval.setColumnNames(columnNames.clone());
InterchangeDataRow[] rows = new InterchangeDataRow[pipelinePlugins.size()];
int i = 0;
for( EntityPipelinePlugin plugin : pipelinePlugins ) {
InterchangeDataRow row = new InterchangeDataRow();
row.setFields(getFields(plugin));
rows[i++] = row;
}
retval.setRows(rows);
return retval;
}