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