private void populateLastConsultations(EMISLastConsultationsVoCollection lastConsultations) { if(lastConsultations!=null) for(int i=0; i<lastConsultations.size(); i++){ EMISLastConsultationsVo lastConsultationVo = lastConsultations.get(i); grdLastConsultationsRow row = form.lyrDetails().tabLastConsultationsEntities().grdLastConsultations().getRows().newRow(); row.setColConsultation(lastConsultationVo.getConsultation()); row.setColEffectiveDate(lastConsultationVo.getEffectiveDate()); row.setColAuthorisingHCP(lastConsultationVo.getAuthorisingHCP()); row.setColLocationType(lastConsultationVo.getLocationTypeDescription()); row.setColConfidentialityPolicy(lastConsultationVo.getConfidentialityPolicy()); row.setColConsultationType(lastConsultationVo.getConsultationTypeOriginalTerm()); row.setValue(lastConsultationVo); } }