public CandidateAnswerVariant getCandidateAnswers ( int i ) { if ( SearchResult_Type . featOkTst && ( ( SearchResult_Type ) jcasType ) . casFeat_candidateAnswers == null ) jcasType . jcas . throwFeatMissing ( "candidateAnswers" , "edu.cmu.lti.oaqa.type.retrieval.SearchResult" ) ; jcasType . jcas . checkArrayBounds ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( SearchResult_Type ) jcasType ) . casFeatCode_candidateAnswers ) , i ) ; return ( CandidateAnswerVariant ) ( jcasType . ll_cas . ll_getFSForRef ( jcasType . ll_cas . ll_getRefArrayValue ( jcasType . ll_cas . ll_getRefValue ( addr , ( ( SearchResult_Type ) jcasType ) . casFeatCode_candidateAnswers ) , i ) ) ) ; }
indexed getter for candidateAnswers - gets an indexed value - CandidateAnswerVariants generated from this SearchResult .