*
* @return the column names as array.
*/
public String[] getColumnNames()
{
final LinkedMap columnSources = new LinkedMap();
final String[] dataRowNames = dataRow.getColumnNames();
for (int i = 0; i < dataRowNames.length; i++)
{
final String dataRowName = dataRowNames[i];
columnSources.put(dataRowName, Boolean.TRUE);
}
final String[] envRowNames = envDataRow.getColumnNames();
for (int i = 0; i < envRowNames.length; i++)
{
final String dataRowName = envRowNames[i];
columnSources.put(dataRowName, Boolean.FALSE);
}
return (String[]) columnSources.keys(new String[columnSources.size()]);
}