Examples of BenchmarkBean


Examples of eu.planets_project.tb.gui.backing.BenchmarkBean

     
      if( bmbeans != null ) {
      Iterator<BenchmarkBean> iter = bmbeans.iterator();
      //Iterator iter = expBean.getBenchmarks().values().iterator();     
      while (iter.hasNext()) {
        BenchmarkBean bmb = iter.next();
     
        if (bmb.getSelected()) {

          //We're having an existing bmGoal object to modify
          BenchmarkGoal bmg = exp.getExperimentSetup().getBenchmarkGoal(bmb.getID());
          if(bmg==null){
            //We're adding a new BMGoal from the list
            //method to get a new instance of BenchmarkGoal
            bmg = BenchmarkGoalsHandlerImpl.getInstance().getBenchmarkGoal(bmb.getID());
          }
         
          //update the bmg with the provided bean's data
          /* FIXME ANJ Clean this up
          helper_addBMBSettingsToBMGoal(bmb,bmg);
View Full Code Here

Examples of eu.planets_project.tb.gui.backing.BenchmarkBean

        List<BenchmarkGoal> expBMgoals = new ArrayList<BenchmarkGoal>();
        Iterator<BenchmarkBean> iter = expBean.getExperimentBenchmarkBeans().iterator();
        log.debug("Found # of ExperimentOverall BMGS: " + expBean.getExperimentBenchmarkBeans().size());
        boolean bError = false;
        while (iter.hasNext()) {
          BenchmarkBean bmb = iter.next();
          BenchmarkGoal bmg;
          if (bmb.getSelected()) {
            // get the bmgoal from the evaluation data
            bmg = exp.getExperimentEvaluation().getEvaluatedExperimentBenchmarkGoal(bmb.getID());
                    expBMgoals.add(bmg);
                    /* FIXME ANJ Clean this up:
          try {
            //update the bmg with the provided bean's data
            helper_addBMBSettingsToBMGoal(bmb,bmg);
View Full Code Here

Examples of eu.planets_project.tb.gui.backing.BenchmarkBean

                    String currentType = dtypeiter.next();
                    DigitalObjectTypesImpl dtypeImpl = new DigitalObjectTypesImpl();
                    currentType = dtypeImpl.getDtypeName(currentType);
                    //only add the goals that match the already selected categories
                    if (currentType.equalsIgnoreCase(bmg.getCategory())) {
                        BenchmarkBean bmb = null;
                      if (availBenchmarks.containsKey(bmg.getID())) {
                                bmb = availBenchmarks.get(bmg.getID());
                                bmb.setSelected(true);
                               
                        } else {
                                bmb = new BenchmarkBean(bmg);       
                                bmb.setSelected(false);
                                availBenchmarks.put(bmg.getID(), bmb);
                        }
                       
                        //add the autoEvaluationService Information for this goal
                        if(mapAutoEvalSer.containsKey(bmg.getID())){
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.