Package pspdash.data

Examples of pspdash.data.ResultSet


                        "<TABLE>" : "<TABLE BORDER>");
        }

        // get the data
        if (parameters.get("h0") == null) parameters.put("h0", "Project/Task");
        ResultSet tableData =
            ResultSet.get(getDataRepository(), parameters, getPrefix(),
                          getPSPProperties());
        if (parameters.get("transpose") != null)
            tableData = tableData.transpose();

        // print the table
        int firstRow = (skipColHdr ? 1 : 0);
        int firstCol = (skipRowHdr ? 1 : 0);
        for (int row=firstRow;  row <= tableData.numRows();  row++) {
            out.println("<TR>");
            for (int col=firstCol;  col <= tableData.numCols();  col++) {
                out.print("<TD" + getColAttributes(col) + ">");
                out.print(esc(tableData.format(row, col)));
                out.println("</TD>");
            }
            out.println("</TR>");
        }
View Full Code Here


        initValues();
        DefectAnalyzer.run(getPSPProperties(), getDataRepository(),
                           getPrefix(), parameters, this);

        int numRows = defectData.size();
        data = new ResultSet(numRows, 1);
        data.setColName(0, resources.getString("Pareto.Defect_Type"));
        data.setColName(1, resources.getString("Pareto."+KEYS[reportType] + "_Axis"));
        if (parameters.get("title") == null)
            parameters.put
                ("title", resources.getString("Pareto."+KEYS[reportType] + "_Title"));
View Full Code Here

        initValues();
        DefectAnalyzer.run(getPSPProperties(), getDataRepository(),
                           getPrefix(), parameters, this);

        int numRows = defectFixTimes.size();
        data = new ResultSet(numRows, 1);
        data.setColName(0, "Defect Type");
        data.setColName(1, "Total Fix Time (minutes)");
        Iterator i = defectFixTimes.keySet().iterator();
        String defectType;
View Full Code Here

        initValues();
        DefectAnalyzer.run(getPSPProperties(), getDataRepository(),
                           getPrefix(), parameters, this);

        int numRows = defectCounts.size();
        data = new ResultSet(numRows, 1);
        data.setColName(0, "Defect Type");
        data.setColName(1, "Total # Defects");
        Iterator i = defectCounts.keySet().iterator();
        String defectType;
View Full Code Here

TOP

Related Classes of pspdash.data.ResultSet

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.