コード例 #1
0
 /**
  * This method gets SalaryTypeVO for costElement. For given cost element description get's list of
  * budget period data's and finally set to SalaryTypeVO;
  *
  * @param costElemetDesc
  * @param costElementCode
  * @return SalaryTypeVO
  */
 protected SalaryTypeVO getSalaryTypeVOForCostElement(
     String costElemetDesc, String costElementCode) {
   SalaryTypeVO salaryTypeVO = new SalaryTypeVO();
   salaryTypeVO.setCostElement(costElemetDesc);
   salaryTypeVO.setCostElementCode(costElementCode);
   salaryTypeVO.setName(costElemetDesc);
   salaryTypeVO.setBudgetPeriodVOs(getBudgetDataPeriodVOsForCostElement(costElemetDesc));
   return salaryTypeVO;
 }