Java 类ims.core.vo.RiskAssessmentForSummaryOverviewVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
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());
        }

    }

}
项目:openMAXIMS    文件:Logic.java   
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());
        }

    }

}
项目:openMAXIMS    文件:Logic.java   
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());
        }

    }

}
项目:openmaxims-linux    文件:Logic.java   
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());
        }

    }

}