/*
  * This method will set the values to award amount info xml object
  * attributes .
  */
 private AmountInfoType setAwardAmountInfo(
     Award award, org.kuali.kra.award.home.AwardAmountInfo awardAmount) {
   AmountInfoType amountInfoType = AmountInfoType.Factory.newInstance();
   if (award.getAccountNumber() != null) {
     amountInfoType.setAccountNumber(award.getAccountNumber());
   }
   if (awardAmount.getTransactionId() != null) {
     amountInfoType.setAmountSequenceNumber(awardAmount.getTransactionId().intValue());
   }
   if (awardAmount.getAmountObligatedToDate() != null) {
     amountInfoType.setAmtObligatedToDate(
         awardAmount.getAmountObligatedToDate().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedChange() != null) {
     amountInfoType.setAnticipatedChange(awardAmount.getAnticipatedChange().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedChangeDirect() != null) {
     amountInfoType.setAnticipatedChangeDirect(
         awardAmount.getAnticipatedChangeDirect().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedChangeIndirect() != null) {
     amountInfoType.setAnticipatedChangeIndirect(
         awardAmount.getAnticipatedChangeIndirect().bigDecimalValue());
   }
   if (awardAmount.getAntDistributableAmount() != null) {
     amountInfoType.setAnticipatedDistributableAmt(
         awardAmount.getAntDistributableAmount().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedTotalAmount() != null) {
     amountInfoType.setAnticipatedTotalAmt(
         awardAmount.getAnticipatedTotalAmount().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedTotalDirect() != null) {
     amountInfoType.setAnticipatedTotalDirect(
         awardAmount.getAnticipatedTotalDirect().bigDecimalValue());
   }
   if (awardAmount.getAnticipatedTotalIndirect() != null) {
     amountInfoType.setAnticipatedTotalIndirect(
         awardAmount.getAnticipatedTotalIndirect().bigDecimalValue());
   }
   if (award.getAwardNumber() != null) {
     amountInfoType.setAwardNumber(award.getAwardNumber());
   }
   if (awardAmount.getObligationExpirationDate() != null) {
     amountInfoType.setObligationExpirationDate(
         dateTimeService.getCalendar(awardAmount.getObligationExpirationDate()));
   }
   if (awardAmount.getObligatedTotalIndirect() != null) {
     amountInfoType.setObligatedTotalIndirect(
         awardAmount.getObligatedTotalIndirect().bigDecimalValue());
   }
   if (awardAmount.getObligatedTotalDirect() != null) {
     amountInfoType.setObligatedTotalDirect(
         awardAmount.getObligatedTotalDirect().bigDecimalValue());
   }
   if (awardAmount.getCurrentFundEffectiveDate() != null) {
     amountInfoType.setCurrentFundEffectiveDate(
         dateTimeService.getCalendar(awardAmount.getCurrentFundEffectiveDate()));
   }
   // TODO : to be fixed
   // amountInfoType.setTreeLevel(awardAmount.get);
   return amountInfoType;
 }