/** * INTERNAL */ public String resolveAttribute() { Node arg = getLeft(); return arg.isDotNode() ? ((DotNode)arg).resolveAttribute() : null; }
/** * INTERNAL */ public String resolveAttribute() { Node arg = getLeft(); return arg.isDotNode() ? ((DotNode)arg).resolveAttribute() : null; }
/** * INTERNAL */ public String resolveAttribute() { Node arg = getLeft(); return arg.isDotNode() ? ((DotNode)arg).resolveAttribute() : null; }
/** * INTERNAL * Apply this node to the passed query */ public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) { if (theQuery.isReportQuery()){ ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute(resolveAttribute(), generateExpression(context)); reportQuery.dontRetrievePrimaryKeys(); } }
/** * INTERNAL * Apply this node to the passed query */ public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) { if (theQuery.isReportQuery()){ ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute(resolveAttribute(), generateExpression(context)); reportQuery.dontRetrievePrimaryKeys(); } }
/** * INTERNAL * Apply this node to the passed query */ public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) { if (theQuery.isReportQuery()){ ReportQuery reportQuery = (ReportQuery)theQuery; reportQuery.addAttribute(resolveAttribute(), generateExpression(context)); reportQuery.dontRetrievePrimaryKeys(); } }