code: private PostDocAssociates getPostDocAssociates(
              OtherPersonnelDto otherPersonnel) {
  
          PostDocAssociates postDocAssociates = PostDocAssociates.Factory
                  .newInstance();
          if (otherPersonnel != null) {
              postDocAssociates.setNumberOfPersonnel(otherPersonnel
                      .getNumberPersonnel());
              postDocAssociates.setProjectRole(otherPersonnel.getRole());
              CompensationDto sectBCompType = otherPersonnel.getCompensation();
  
              postDocAssociates.setRequestedSalary(sectBCompType.getRequestedSalary().bigDecimalValue());
              postDocAssociates.setFringeBenefits(sectBCompType.getFringe().bigDecimalValue());
              postDocAssociates.setAcademicMonths(sectBCompType.getAcademicMonths().bigDecimalValue());
              postDocAssociates.setCalendarMonths(sectBCompType.getCalendarMonths().bigDecimalValue());
              postDocAssociates.setFundsRequested(sectBCompType.getFundsRequested().bigDecimalValue());
              postDocAssociates.setSummerMonths(sectBCompType.getSummerMonths().bigDecimalValue());
  
              
          }
          return postDocAssociates;
      }
docs: This method gets the PostDocAssociates details,ProjectRole,
  NumberOfPersonnel,Compensation based on OtherPersonnelInfo for the
  RRBudget10,if it is a PostDocAssociates type.
  
  @param otherPersonnel
  (OtherPersonnelInfo)other personnel info entry.
  @return PostDocAssociates details corresponding to the OtherPersonnelInfo
  object.