Package reportgen.ren.executer

Examples of reportgen.ren.executer.QueryExecuterSub


     */
    public Set<String> getUsedSubreportColumns(int subReportId) {
        Set<String> used = new HashSet<String>();

        //search for specified subreport
        QueryExecuterSub subreport = null;
        for(int i=0; i<subReports.size(); i++) {
            QueryExecuterSub sr = subReports.get(i);
            if(sr.getReportId() == subReportId) {
                subreport = sr;
                break;
            }
        }

View Full Code Here


    public String getColumnTitle() {
        return report.getSubReport().getColTitle(col);
    }

    public Class getCls() throws ReportException {
        QueryExecuterSub rep = report.getSubReport();
        return rep.getColCls(col, true);
    }
View Full Code Here

        return rep.getColCls(col, true);
    }

    @Override
    public String toString() {
        QueryExecuterSub rep = report.getSubReport();
        return "[" + rep.getSelectTitle() + ":" + rep.getColTitle(col) + "]";

    }
View Full Code Here

    }

    @Override
    protected QueryExecuterSub loadChild(Element root, Context context)
            throws ReportException {
        return new QueryExecuterSub(root, context);
    }
View Full Code Here

        return super.isContain(entity);
    }

    @Override
    public void validate() throws ReportException {
        QueryExecuterSub rep = column.getReport().getSubReport();
        if(rep.isCanBeOmitted() || rep.isOmitted()) {
            throw new ReportException("Подотчет '" +
                    rep.getReportTitle() + "' используемый в качестве кросс-отчета "
                    + "не может быть опциональным.");
        }
    }
View Full Code Here

        this.column = column;
    }

    public MathExpressionSubReportColumnRef(Element element, Context context) throws ReportException {
        super(element, context);
        QueryExecuterSub query = context.getSubreport(new Atom(getStringAttribute(element, QUERYID)));
        int index = query.getColumnIndex(element.getText());
        column = new SubReportColumn(query, index);
    }
View Full Code Here

TOP

Related Classes of reportgen.ren.executer.QueryExecuterSub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.