final ArrayList<FieldDefinition> fields = new ArrayList<FieldDefinition>(columnNames.length);
final DataSchema dataSchema = model.getDataSchema();
for (int i = 0; i < columnNames.length; i++)
{
final String columnName = columnNames[i];
final DataAttributes attributes = dataSchema.getAttributes(columnName);
if (attributes == null)
{
throw new IllegalStateException("No data-schema for expression with name '" + columnName + '\'');
}
if (ReportDataSchemaModel.isFiltered(attributes, dataAttributeContext))