Package systole.synchronization.remote.ws

Examples of systole.synchronization.remote.ws.AverageWs



        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);
            }
        }
View Full Code Here

TOP

Related Classes of systole.synchronization.remote.ws.AverageWs

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.