}
private MasterReport configureReport(MasterReport report, boolean relational)
{
report.addExpression(create("relational", null, COLUMN_DIMENSION_B));
report.addExpression(new ValidateFunctionResultExpression("#relational", isFailHardOnError(), null));
if (relational)
{
return report;
}
report.addExpression(create("cell", COLUMN_DIMENSION_B, ROW_DIMENSION_B));
report.addExpression(new ValidateFunctionResultExpression("#cell", isFailHardOnError(), COLUMN_DIMENSION_B));
report.addExpression(create("row-b", COLUMN_DIMENSION_A, ROW_DIMENSION_B));
report.addExpression(new ValidateFunctionResultExpression("#row-b", isFailHardOnError(), COLUMN_DIMENSION_A));
report.addExpression(create("row-a", COLUMN_DIMENSION_A, ROW_DIMENSION_A));
report.addExpression(new ValidateFunctionResultExpression("#row-a", isFailHardOnError(), COLUMN_DIMENSION_A));
report.addExpression(create("column-a", null, COLUMN_DIMENSION_A));
report.addExpression(new ValidateFunctionResultExpression("#column-a", isFailHardOnError(), null));
report.addExpression(create("column-b", COLUMN_DIMENSION_B, ROW_DIMENSION_A));
report.addExpression(new ValidateFunctionResultExpression("#column-b", isFailHardOnError(), COLUMN_DIMENSION_B));
return report;
}