Package auxiliar

Examples of auxiliar.CompresiuneTabel


        List<Float> sarciniL = compresibilitateDao.geSarciniByIDProba(proba.getIdProba());
        setSarcini(sarciniL);

        ICompresiuneDao compresiuneDao = new CompresiuneDao();
        List<Compresiune> compresiuni = compresiuneDao.geCompresiuneByIDProba(proba.getIdProba());
        CompresiuneTabel compTabel = new CompresiuneTabel();
        if (compresiuni.size() != 0) {
            List<String> sigmaList = new ArrayList<String>();
            Iterator it = compresiuni.iterator();
            while (it.hasNext()) {
                sigmaList.add(((Compresiune) it.next()).getSigma());
            }
            compTabel.setC1(sigmaList);
            compTabel.setC2(formulaCompresiuneCol2(sigmaList, proba.getIdProba()));
            compTabel.setC3(formulaCompresiuneCol3(sigmaList, proba.getIdProba()));
            compTabel.setC4(formulaCompresiuneCol4(sigmaList, proba.getIdProba()));
            compTabel.setC5(formulaCompresiuneCol5(sigmaList, proba.getIdProba()));
            compTabel.setC6(formulaCompresiuneCol6(sigmaList, proba.getIdProba()));
            compTabel.setC7(formulaCompresiuneCol7(sigmaList, proba.getIdProba()));
            compTabel.setC8(formulaCompresiuneCol8(sigmaList, proba.getIdProba()));
            compTabel.setC9(formulaCompresiuneCol9(sigmaList, proba.getIdProba()));
            compTabel.setC10(formulaCompresiuneCol10(sigmaList, proba.getIdProba()));
        }
        getContext().getRequest().getSession(true).setAttribute("compresiune", compTabel);

        return new ForwardResolution("/WEB-INF/jsp/compresiune.jsp");
    }
View Full Code Here


        List<String> sigmaList = new ArrayList<String>();
        Iterator it = compresiuni.iterator();
        while (it.hasNext()) {
            sigmaList.add(((Compresiune) it.next()).getSigma());
        }
        CompresiuneTabel compTabel = new CompresiuneTabel();
        compTabel.setC1(sigmaList);
        compTabel.setC2(formulaCompresiuneCol2(sigmaList, proba.getIdProba()));
        compTabel.setC3(formulaCompresiuneCol3(sigmaList, proba.getIdProba()));
        compTabel.setC4(formulaCompresiuneCol4(sigmaList, proba.getIdProba()));
        compTabel.setC5(formulaCompresiuneCol5(sigmaList, proba.getIdProba()));
        compTabel.setC6(formulaCompresiuneCol6(sigmaList, proba.getIdProba()));
        compTabel.setC7(formulaCompresiuneCol7(sigmaList, proba.getIdProba()));
        compTabel.setC8(formulaCompresiuneCol8(sigmaList, proba.getIdProba()));
        compTabel.setC9(formulaCompresiuneCol9(sigmaList, proba.getIdProba()));
        compTabel.setC10(formulaCompresiuneCol10(sigmaList, proba.getIdProba()));
        getContext().getRequest().getSession(true).setAttribute("compresiune", compTabel);
        return new ForwardResolution("/WEB-INF/jsp/compresiune.jsp");
    }
View Full Code Here

TOP

Related Classes of auxiliar.CompresiuneTabel

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.