protected void setHumanSubjectInvolvedAndVertebrateAnimalUsed ( OtherResearchTrainingPlan researchTrainingPlan ) { researchTrainingPlan . setHumanSubjectsInvolved ( YesNoDataType . N_NO ) ; researchTrainingPlan . setVertebrateAnimalsUsed ( YesNoDataType . N_NO ) ; for ( ProposalSpecialReviewContract propSpecialReview : pdDoc . getDevelopmentProposal ( ) . getPropSpecialReviews ( ) ) { switch ( Integer . parseInt ( propSpecialReview . getSpecialReviewType ( ) . getCode ( ) ) ) { case 1 : researchTrainingPlan . setHumanSubjectsInvolved ( YesNoDataType . Y_YES ) ; break ; case 2 : researchTrainingPlan . setVertebrateAnimalsUsed ( YesNoDataType . Y_YES ) ; break ; default : break ; } } }
This method is used to set HumanSubjectInvoved and VertebrateAnimalUsed XMLObject Data .