code: private void setOthersForOtherDirectCosts(OtherDirectCosts otherDirectCosts, BudgetPeriodDto periodInfo) {
          if (periodInfo != null && periodInfo.getOtherDirectCosts() != null) {
              for (OtherDirectCostInfoDto otherDirectCostInfo : periodInfo.getOtherDirectCosts()) {
                  gov.grants.apply.forms.rrBudget10V11.BudgetYearDataType.OtherDirectCosts.Other other = otherDirectCosts.addNewOther();
                  if (otherDirectCostInfo.getOtherCosts() != null
                          && otherDirectCostInfo.getOtherCosts().size() > 0) {
                      other
                              .setCost(new BigDecimal(otherDirectCostInfo
                                      .getOtherCosts().get(0).get(
                                              CostConstants.KEY_COST)));
                  }
                  other.setDescription(OTHERCOST_DESCRIPTION);
              }
          }
      }
docs: This method is to set Other type description and total cost
  OtherDirectCosts details in BudgetYearDataType based on BudgetPeriodInfo
  for the RRBudget10.
  
  @param otherDirectCosts otherDirectCosts xmlObject
  @param periodInfo
  (BudgetPeriodInfo) budget period entry.