private UndergraduateStudents getUndergraduateStudents ( OtherPersonnelDto otherPersonnel ) { UndergraduateStudents undergraduate = UndergraduateStudents . Factory . newInstance ( ) ; if ( otherPersonnel != null ) { undergraduate . setNumberOfPersonnel ( otherPersonnel . getNumberPersonnel ( ) ) ; undergraduate . setProjectRole ( otherPersonnel . getRole ( ) ) ; undergraduate . setCompensation ( getSectBCompensationDataType ( otherPersonnel . getCompensation ( ) ) ) ; } return undergraduate ; }
This method is to get the UndergraduateStudents details ProjectRole NumberOfPersonnel Compensation based on OtherPersonnelInfo for the RRFedNonFedBudget if it is a UndergraduateStudents type .