/*
  * This method gets reportType for BudgetCumulativeNonPersonnel by setting
  * parameters data to reportType
  */
 private ReportType getReportTypeForBudgetCumulativeNonPersonnel(
     ScaleTwoDecimal calculatedCost, ReportTypeVO reportTypeVO) {
   ReportType reportType = ReportType.Factory.newInstance();
   reportType.setBudgetCategoryDescription(reportTypeVO.getBudgetCategoryDesc());
   reportType.setCostElementDescription(reportTypeVO.getCostElementDesc());
   reportType.setCalculatedCost(calculatedCost.doubleValue());
   return reportType;
 }
 /*
  * This method gets reportType for CumulativeBudgetSalary by setting data to
  * reportType from passed parameters
  */
 private ReportType getReportTypeForCumulativeBudgetSalary(
     ScaleTwoDecimal vacationRate,
     ScaleTwoDecimal empBenefitRate,
     ScaleTwoDecimal fringe,
     ReportTypeVO reportTypeVO) {
   ReportType reportType = ReportType.Factory.newInstance();
   reportType.setStartDate(reportTypeVO.getStartDate().toString());
   reportType.setEndDate(reportTypeVO.getEndDate().toString());
   reportType.setBudgetCategoryDescription(reportTypeVO.getBudgetCategoryDesc());
   reportType.setPersonName(reportTypeVO.getPersonName());
   reportType.setVacationRate(vacationRate.toString().concat(PERCENTAGE));
   reportType.setEmployeeBenefitRate(empBenefitRate.toString().concat(PERCENTAGE));
   reportType.setFringe(fringe.doubleValue());
   reportType.setCostElementDescription(reportTypeVO.getCostElementDesc());
   reportType.setInvestigatorFlag(reportTypeVO.getInvestigatorFlag());
   if (reportTypeVO.getBudgetCategoryCode() != null) {
     reportType.setBudgetCategoryCode(Integer.parseInt(reportTypeVO.getBudgetCategoryCode()));
   }
   reportType.setSalaryRequested(reportTypeVO.getSalaryRequested().doubleValue());
   return reportType;
 }