private DirectorType getProjectDirectorType() {

        DirectorType directorType = DirectorType.Factory.newInstance();
        ProposalPersonContract PI = s2SProposalPersonService.getPrincipalInvestigator(pdDoc);
        if (PI != null) {
            directorType.setName(globLibV20Generator.getHumanNameDataType(PI));
        }
        return directorType;
    }
private DirectorType getProjectDirectorType ( ) { DirectorType directorType = DirectorType . Factory . newInstance ( ) ; ProposalPersonContract PI = s2SProposalPersonService . getPrincipalInvestigator ( pdDoc ) ; if ( PI != null ) { directorType . setName ( globLibV20Generator . getHumanNameDataType ( PI ) ) ; } return directorType ; }
This method is used to get Personal details of Principal Investigator

@return DirectorType principal investigator details.