Package systole.domain.analysis.results.averages

Examples of systole.domain.analysis.results.averages.AverageByDecade


            this.document.add(indice);
            this.document.add(new Paragraph());

            int samples = 0;
            try {
                AverageByDecade averageByDecade = FacadeDB.getInstance().getAveragesBroker().getAverageByPatient(analysis.getPatient());
                if (averageByDecade != null) {
                    samples = averageByDecade.getSamples();
                }
            } catch (ExceptionDAO aO) {
                //
            }
View Full Code Here


    public JPnlReport(Analysis analysis) {
        initComponents();
        this.loadAnalysis(analysis);
        int samples=0;
        try{
           AverageByDecade averageByDecade =FacadeDB.getInstance().getAveragesBroker().getAverageByPatient(analysis.getPatient());
           if (averageByDecade!=null){
            samples = averageByDecade.getSamples();
           }
        }catch(ExceptionDAO aO){
            //
        }
        this.jLblIdexCommentSubtitle.setText("<html>" + ReportTexts.ideal_characteristics + "<br>"
View Full Code Here

    }

    @Override
    protected void initFormsControls() throws ExceptionDAO {
        JDialogIndex dialogIndex = (JDialogIndex) this.form;
        AverageByDecade averageByDecade = this.facadeDB.getAveragesBroker().getAverageByPatient(patient);
        List<Comparative> comparatives = this.facadeDB.getComparativeBroker().getAllComparatives();

        dialogIndex.getjTableIndexes().setModel(new IndexesTableModel(averageByDecade));
        JComboBox comboBox = new JComboBox();
        for (int i = 0; i < comparatives.size(); i++) {
View Full Code Here

        if (averagesWs.getAverages() != null) {
            Iterator<AverageWs> itaod = averagesWs.getAverages().iterator();
            while (itaod.hasNext()) {
                AverageWs averageWs = itaod.next();
                AverageByDecade averageByDecade = averageWs.isSex()
                        ? new AverageByDecadeMale(averageWs.getDecade())
                        : new AverageByDecadeFemale(averageWs.getDecade());
                averageByDecade.setSamples(averageWs.getSamples());
                Average averageIAR = new Average();
                averageIAR.setAvg(averageWs.getIarAvg());
                averageIAR.setTrustInterval(averageWs.getIarTrustInterval());
                averageByDecade.setAverageIAR(averageIAR);
                Average averageAOD = new Average();
                averageAOD.setAvg(averageWs.getAodAvg());
                averageAOD.setTrustInterval(averageWs.getAodTrustInterval());
                averageByDecade.setAverageAOD(averageAOD);
                Average averageAOS = new Average();
                averageAOS.setAvg(averageWs.getAosAvg());
                averageAOS.setTrustInterval(averageWs.getAosTrustInterval());
                averageByDecade.setAverageAOS(averageAOS);
                FacadeDB.getInstance().getAveragesBroker().save(averageByDecade);
            }
        }

        FacadeDB.getInstance().commitTransaction();
View Full Code Here

TOP

Related Classes of systole.domain.analysis.results.averages.AverageByDecade

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.