ReportItem item = (ReportItem)i.next();
Expression expr = item.getAttributeExpression();
reportQuery.addNonFetchJoinedAttribute(expr);
}
reportQuery.clearItems();
Expression one = new ConstantExpression(new Integer(1), new ExpressionBuilder());
reportQuery.addItem("one", one);
reportQuery.dontUseDistinct();
Expression expr = context.getBaseExpression();
return notIndicated() ? expr.notExists(reportQuery) :
expr.exists(reportQuery);