docs: private Others getOthersForOtherDirectCosts(BudgetPeriodDto periodInfo) {
  
          Others othersDirect = Others.Factory.newInstance();
          if (periodInfo != null && periodInfo.getOtherDirectCosts() != null) {
              Others.Other otherArray[] = new Others.Other[periodInfo.getOtherDirectCosts().size()];
              int Otherscount = 0;
              Others.Other other = Others.Other.Factory.newInstance();
              for (OtherDirectCostInfoDto otherDirectCostInfo : periodInfo.getOtherDirectCosts()) {
                  TotalDataType total = TotalDataType.Factory.newInstance();
                  if (otherDirectCostInfo.getOtherCosts() != null && otherDirectCostInfo.getOtherCosts().size() > 0) {
                      total.setFederal(new BigDecimal(otherDirectCostInfo.getOtherCosts().get(0).get(CostConstants.KEY_COST)));
                      total
                              .setNonFederal(new BigDecimal(otherDirectCostInfo.getOtherCosts().get(0).get(
                                      CostConstants.KEY_COSTSHARING)));
                      if (otherDirectCostInfo.getOtherCosts().get(0).get(CostConstants.KEY_COST) != null) {
                          total.setTotalFedNonFed(new BigDecimal(otherDirectCostInfo.getOtherCosts().get(0)
                                  .get(CostConstants.KEY_COST)).add(new BigDecimal(otherDirectCostInfo.getOtherCosts().get(0).get(
                                  CostConstants.KEY_COSTSHARING))));
                      }
                      else {
                          total.setTotalFedNonFed(new BigDecimal(otherDirectCostInfo.getOtherCosts().get(0).get(
                                  CostConstants.KEY_COSTSHARING)));
                      }
                  }
                  other.setCost(total);
                  other.setDescription(OTHERCOST_DESCRIPTION);
                  otherArray[Otherscount] = other;
                  Otherscount++;
              }
              othersDirect.setOtherArray(otherArray);
          }
          return othersDirect;
      }