String[] reportFields = dataSchemaModel.getColumnNames();
FieldDefinition[] fields = new FieldDefinition[reportFields.length];
for (int i = 0; i < reportFields.length; i++)
{
String reportField = reportFields[i];
fields[i] = new DefaultFieldDefinition(reportField);
}
return fields;
}