Package reportgen.utils

Examples of reportgen.utils.Atom


   public MathExpressionEntityMethodRef(Element element, Context context) throws ReportException {
        super(element, context);
        String fullname = getStringAttribute(element, ATTR_VALUE);
        int aliaspos = fullname.indexOf('.');
        Atom atom = new Atom(fullname.substring(0, aliaspos));
        QEntity entity =  context.getEntity(atom);

        String propertyName = fullname.substring(aliaspos+1);
        ContextGroup contextGroup = getContextGroup(entity.getContextGroup());
        property = context.getProperty(contextGroup, entity, propertyName);
View Full Code Here


   public MathExpressionEntityObjectFieldRef(Element element, Context context)
           throws ReportException {
        super(element, context);
        String fullname = getStringAttribute(element, ATTR_VALUE);
        int aliaspos = fullname.indexOf('.');
        Atom atom = new Atom(fullname.substring(0, aliaspos));
        QEntity entity =  context.getEntity(atom);

        String propertyName = fullname.substring(aliaspos+1);
        ContextGroup contextGroup = getContextGroup(entity.getContextGroup());
        property = context.getProperty(contextGroup, entity, propertyName);
View Full Code Here

    }

    public MathExpressionCrossReportColumnRef(Element element,
            Context context) throws ReportException {
        super(element, context);
        CrossReport crossReport = context.getCrossReport(new Atom(getStringAttribute(element, CROSSID)));

        String columnName  = element.getText();
        int index = crossReport.getSubReport().getColumnIndex(columnName);
        column = new CrossReportColumn(crossReport, index);
    }
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

    }

   public MathExpressionInlineRef(Element element, Context context)
           throws ReportException {
        super(element, context);
        inline = context.getInline(new Atom(getStringAttribute(element, ATOM)));
    }
View Full Code Here

TOP

Related Classes of reportgen.utils.Atom

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.