private void populateRiskAssessments(RiskAssessmentForSummaryOverviewVoCollection ass) { if (ass == null) return; for (int i = 0 ; i < ass.size() ; i++) { RiskAssessmentForSummaryOverviewVo as = ass.get(i); grdAssessmentsRow row = form.grdAssessments().getRows().get(as.getAssessmentType()); row.setColumnDate(as.getDateIsNotNull()?as.getDate().toString():null); row.setColumnHcp(as.getHcpIsNotNull()?as.getHcp().getIHcpName():null); row.setColumnScore(as.getScoreIsNotNull()?as.getScore().toString():null); if (as.getDateIsNotNull()) { row.setTooltipForColumnDate(as.getDate().toString()); } if (as.getHcpIsNotNull()) { row.setTooltipForColumnHcp(as.getHcp().getIHcpName()); } if (as.getScoreIsNotNull()) { row.setTooltipForColumnScore(as.getScore()); } } }