Package reportgen.utils

Examples of reportgen.utils.Atom


    private boolean omitted = false;

    public QueryInputValue() {
        selectDescription = "нет описания";
        selectTitle = "Название параметра";
        atom = new Atom();
    }
View Full Code Here


        atom = new Atom();
    }

    public QueryInputValue(Element element, Context context) throws ReportException {
        super(element, context);
        atom = new Atom(element, context);
        selectTitle = XML.getStringAttribute(element, ATTR_TITLE);
        selectDescription = XML.getStringAttribute(element, ATTR_DESC, "", false);

        canBeOmitted = XML.getBoolAttribute(element, ATTR_CANBEOMITTED, false, false);
        constant = XML.getBoolAttribute(element, ATTR_CONST, false, false);
View Full Code Here

    private final MathExpressionInlineResult result;
    private Atom atom;

    public CoreInline(String title, Context context) {
        super(title, context);
        atom = new Atom();
        result = new MathExpressionInlineResult(getCoreContext());
    }
View Full Code Here

        result = new MathExpressionInlineResult(getCoreContext());
    }

    public CoreInline(Element element, Context context) throws ReportException {
        super(element, context);
        atom = new Atom(element, context);

        MathExpressionInlineResult loadResult = null;
        Element resultsEl = element.getChild(MathExpressionInlineResult.TAG);
        if (resultsEl != null) {
            loadResult = new MathExpressionInlineResult(resultsEl, getCoreContext());
View Full Code Here

     * Используется при создании корневых сущностей
     * @param cls
     */
    public QueryEntity(Class cls, ContextGroup coreContextGroup) {
        super(cls, null);
        atom = new Atom();
        this.coreContextGroup = coreContextGroup;
    }
View Full Code Here

            LinkageMode backLinkage, QueryEntity linkedEntity,
            ContextGroup coreContextGroup) {
        super(cls, identificator, title, desc);
        this.linkage = backLinkage;
        this.parent = linkedEntity;
        this.atom = new Atom();
        this.coreContextGroup = coreContextGroup;
    }
View Full Code Here

    private QueryEntity(Class cls, String identificator,
            QueryEntity linkedEntity, ContextGroup coreContextGroup) {
        super(cls, identificator);
        this.parent = linkedEntity;
        this.linkage = LinkageMode.backward;
        this.atom = new Atom();
        this.coreContextGroup = coreContextGroup;
    }
View Full Code Here

        if(!element.getName().equals(TAG)) {
            throw new ReportException("Имя тега не соответствует " + TAG);
        }
        this.coreContextGroup = coreContextGroup;

        atom = new Atom(element, context);
        this.parent = linkedEntity;

        String linkageEl = XML.getStringAttribute(element, LINKAGE, null, false);
        if(linkageEl == null) {
            linkage = LinkageMode.backward;
View Full Code Here

        this.report = new QueryExecuter(id, report, title, description);
        this.selectTitle = selectTitle;
        this.selectDescription = selectDescription;
        this.selectColumn = selectColumn;
        this.rowCount = activeRows;
        this.atom = new Atom();
    }
View Full Code Here

        int reportId = XML.getIntAttribute(element, ATTR_QUERYID);
        SubQueryLoaderResult rpt = context.getQueryLoader().loadSubReport(reportId);
        report = new QueryExecuter(reportId, rpt.report, rpt.title, rpt.description);

        atom = new Atom(element, context);
        rowCount = new RowCount(element);
        selectTitle = XML.getStringAttribute(element, ATTR_TITLE);
        selectDescription = XML.getStringAttribute(element, ATTR_DESCRIPTION, "", false);

        String selectCol = SupportXMLRootImpl.getStringAttribute(element, ATTR_SELECTCOLUMN);
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.