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

项目:AvoinApotti    文件:Logic.java   
private String createAccreditationHistoryTooltip(HcpLocationAccreditationHistoryVoCollection accreditationHistory, CaseTypeCollection collCaseTypes)
{
    if (accreditationHistory != null && accreditationHistory.size() > 0 && collCaseTypes != null)
    {
        java.lang.StringBuffer strDetail = new StringBuffer();

        strDetail.append("<font color=\"#FF0000\"><b><u>Accreditation History</b></u></font><br>");

        StringBuffer sb = new StringBuffer();

        for (int k = 0 ; k < collCaseTypes.size() ; k++)
        {
            sb.append(collCaseTypes.get(k).getText());
            sb.append(", ");
        }
        if (sb.length() > 0)
        {
            strDetail.append("<b>Case Types:</b> ");
            strDetail.append(sb.substring(0, sb.length() - 2));
            strDetail.append("<br>");
        }

        for (int i = 0 ; i < accreditationHistory.size()-1 ; i++)
        {
            strDetail.append("<b>Accreditation:</b> ");
            if (accreditationHistory.get(i).getAccreditationStatusIsNotNull())
                strDetail.append(accreditationHistory.get(i).getAccreditationStatus().getText());

            strDetail.append("     ");
            strDetail.append("<b>Change Date:</b> ");
            if (accreditationHistory.get(i).getSystemInformationIsNotNull())
                strDetail.append(accreditationHistory.get(i).getSystemInformation().getCreationDateTime().getDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>Start Date:</b> ");
            if (accreditationHistory.get(i).getStartDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getStartDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>End Date:</b> ");
            if (accreditationHistory.get(i).getEndDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getEndDate().toString());

            strDetail.append("<br>");
        }

        return strDetail.toString();
    }
    return "";
}
项目:openMAXIMS    文件:Logic.java   
private String createAccreditationHistoryTooltip(HcpLocationAccreditationHistoryVoCollection accreditationHistory, CaseTypeCollection collCaseTypes)
{
    if (accreditationHistory != null && accreditationHistory.size() > 0 && collCaseTypes != null)
    {
        java.lang.StringBuffer strDetail = new StringBuffer();

        strDetail.append("<font color=\"#FF0000\"><b><u>Accreditation History</b></u></font><br>");

        StringBuffer sb = new StringBuffer();

        for (int k = 0 ; k < collCaseTypes.size() ; k++)
        {
            sb.append(collCaseTypes.get(k).getText());
            sb.append(", ");
        }
        if (sb.length() > 0)
        {
            strDetail.append("<b>Case Types:</b> ");
            strDetail.append(sb.substring(0, sb.length() - 2));
            strDetail.append("<br>");
        }

        for (int i = 0 ; i < accreditationHistory.size()-1 ; i++)
        {
            strDetail.append("<b>Accreditation:</b> ");
            if (accreditationHistory.get(i).getAccreditationStatusIsNotNull())
                strDetail.append(accreditationHistory.get(i).getAccreditationStatus().getText());

            strDetail.append("     ");
            strDetail.append("<b>Change Date:</b> ");
            if (accreditationHistory.get(i).getSystemInformationIsNotNull())
                strDetail.append(accreditationHistory.get(i).getSystemInformation().getCreationDateTime().getDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>Start Date:</b> ");
            if (accreditationHistory.get(i).getStartDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getStartDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>End Date:</b> ");
            if (accreditationHistory.get(i).getEndDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getEndDate().toString());

            strDetail.append("<br>");
        }

        return strDetail.toString();
    }
    return "";
}
项目:openMAXIMS    文件:Logic.java   
private String createAccreditationHistoryTooltip(HcpLocationAccreditationHistoryVoCollection accreditationHistory, CaseTypeCollection collCaseTypes)
{
    if (accreditationHistory != null && accreditationHistory.size() > 0 && collCaseTypes != null)
    {
        java.lang.StringBuffer strDetail = new StringBuffer();

        strDetail.append("<font color=\"#FF0000\"><b><u>Accreditation History</b></u></font><br>");

        StringBuffer sb = new StringBuffer();

        for (int k = 0 ; k < collCaseTypes.size() ; k++)
        {
            sb.append(collCaseTypes.get(k).getText());
            sb.append(", ");
        }
        if (sb.length() > 0)
        {
            strDetail.append("<b>Case Types:</b> ");
            strDetail.append(sb.substring(0, sb.length() - 2));
            strDetail.append("<br>");
        }

        for (int i = 0 ; i < accreditationHistory.size()-1 ; i++)
        {
            strDetail.append("<b>Accreditation:</b> ");
            if (accreditationHistory.get(i).getAccreditationStatusIsNotNull())
                strDetail.append(accreditationHistory.get(i).getAccreditationStatus().getText());

            strDetail.append("     ");
            strDetail.append("<b>Change Date:</b> ");
            if (accreditationHistory.get(i).getSystemInformationIsNotNull())
                strDetail.append(accreditationHistory.get(i).getSystemInformation().getCreationDateTime().getDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>Start Date:</b> ");
            if (accreditationHistory.get(i).getStartDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getStartDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>End Date:</b> ");
            if (accreditationHistory.get(i).getEndDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getEndDate().toString());

            strDetail.append("<br>");
        }

        return strDetail.toString();
    }
    return "";
}
项目:openmaxims-linux    文件:Logic.java   
private String createAccreditationHistoryTooltip(HcpLocationAccreditationHistoryVoCollection accreditationHistory, CaseTypeCollection collCaseTypes)
{
    if (accreditationHistory != null && accreditationHistory.size() > 0 && collCaseTypes != null)
    {
        java.lang.StringBuffer strDetail = new StringBuffer();

        strDetail.append("<font color=\"#FF0000\"><b><u>Accreditation History</b></u></font><br>");

        StringBuffer sb = new StringBuffer();

        for (int k = 0 ; k < collCaseTypes.size() ; k++)
        {
            sb.append(collCaseTypes.get(k).getText());
            sb.append(", ");
        }
        if (sb.length() > 0)
        {
            strDetail.append("<b>Case Types:</b> ");
            strDetail.append(sb.substring(0, sb.length() - 2));
            strDetail.append("<br>");
        }

        for (int i = 0 ; i < accreditationHistory.size()-1 ; i++)
        {
            strDetail.append("<b>Accreditation:</b> ");
            if (accreditationHistory.get(i).getAccreditationStatusIsNotNull())
                strDetail.append(accreditationHistory.get(i).getAccreditationStatus().getText());

            strDetail.append("     ");
            strDetail.append("<b>Change Date:</b> ");
            if (accreditationHistory.get(i).getSystemInformationIsNotNull())
                strDetail.append(accreditationHistory.get(i).getSystemInformation().getCreationDateTime().getDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>Start Date:</b> ");
            if (accreditationHistory.get(i).getStartDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getStartDate().toString());

            strDetail.append("     ");
            strDetail.append("<b>End Date:</b> ");
            if (accreditationHistory.get(i).getEndDateIsNotNull())
                strDetail.append(accreditationHistory.get(i).getEndDate().toString());

            strDetail.append("<br>");
        }

        return strDetail.toString();
    }
    return "";
}