private void populateDiaries(EMISDiariesVoCollection diaries) { if(diaries!=null) for(int i=0; i<diaries.size(); i++){ EMISDiariesVo diariesVo = diaries.get(i); grdDiariesRow row = form.lyrDetails().tabDiariesEntities().grdDiaries().getRows().newRow(); row.setColDiary(diariesVo.getDiary()); row.setColEffectiveDate(diariesVo.getEffectiveDate()); row.setColOriginalTerm(diariesVo.getOriginalTerm()); row.setColConfidentialityPolicy(diariesVo.getConfidentialityPolicy()); row.setValue(diariesVo); } }