Package com.structis.fichesst.server.bean.domain

Examples of com.structis.fichesst.server.bean.domain.Progress


        }

        List<Progress> progressList = persistence.getProgresses();
        if (progressList != null) {
          for (Iterator<Progress> iterator = progressList.iterator(); iterator.hasNext();) {
            Progress progress = iterator.next();
            progress.setFicheSt(null);
            iterator.remove();
          }
        }

        List<Penalty> penaltyList = persistence.getPenalties();
View Full Code Here


   * @param listProcess
   * @param listSrcProcess
   * @return
   */
  private String createProgress(List<Progress> listProcess,List<String> listSrcProcess){
    Progress previousProgress = null;
    Progress progress = null;
    String srcProgress = "";
    String totalProcess = "";
    double mois = 0.0;
    double mois2;
    for (int j = 0; j < listProcess.size(); j++) {   
      progress = listProcess.get(j);
      if(j > 0){
        previousProgress = listProcess.get(j-1);
        mois = progress.getCumule() - previousProgress.getCumule();
        mois2 = progress.getCumule2() - previousProgress.getCumule2();
      }else{
        mois = progress.getCumule();
        mois2 = progress.getCumule2();
      }
      srcProgress += append((j+1),progress.getLabel(),progress.getDate(),progress.getCumule(),mois,progress.getCumule2(),mois2);
      totalProcess = append(progress.getCumule(),mois,progress.getCumule2(),mois2);
    }
    listSrcProcess.add(srcProgress);
    return totalProcess;
  }
View Full Code Here

        gestion = listGestion.get(i);
        totalTraite += gestion.getTraite();
      }
    }
    if( listProcess != null && listProcess.size() > 0 ) {
      Progress progress = null;
      for( int i = 0 ; i < listProcess.size() ; i++ ) {
        progress = listProcess.get(i);
        cumuleSum = progress.getCumule();
      }
    }

    if( totalTraite == 0 ) {
      etatAvancement = 0.0;
View Full Code Here

TOP

Related Classes of com.structis.fichesst.server.bean.domain.Progress

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.