Java 类ims.admin.vo.ElectiveListHospitalConfigurationVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private String getHospitalsToDisplay(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null || hospitals.size()==0)
        return null;

    StringBuffer txtColHosp=new StringBuffer();

    for (int i=0;i<hospitals.size();i++)
    {
        txtColHosp.append(hospitals.get(i).getListLocation().getName());
        if (i < hospitals.size()-1)
        {
            txtColHosp.append(", ");
        }
    }

    return txtColHosp.toString();
}
项目:AvoinApotti    文件:Logic.java   
private ElectiveListHospitalConfigurationVoCollection getHospitalsFromGrid()
{
    if (form.ctnDetails().grdHospitals().getRows().size()==0)
        return null;

    ElectiveListHospitalConfigurationVoCollection collHosp = new ElectiveListHospitalConfigurationVoCollection();
    for (int i=0;i<form.ctnDetails().grdHospitals().getRows().size();i++)
    {
        if (form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue()==null)
            continue;

        ElectiveListHospitalConfigurationVo hosp = new ElectiveListHospitalConfigurationVo();
        hosp.setListLocation((LocationLiteVo)form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue());

        collHosp.add(hosp);
    }

    return collHosp;
}
项目:openMAXIMS    文件:Logic.java   
private String getHospitalsToDisplay(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null || hospitals.size()==0)
        return null;

    StringBuffer txtColHosp=new StringBuffer();

    for (int i=0;i<hospitals.size();i++)
    {
        txtColHosp.append(hospitals.get(i).getListLocation().getName());
        if (i < hospitals.size()-1)
        {
            txtColHosp.append(", ");
        }
    }

    return txtColHosp.toString();
}
项目:openMAXIMS    文件:Logic.java   
private ElectiveListHospitalConfigurationVoCollection getHospitalsFromGrid()
{
    if (form.ctnDetails().grdHospitals().getRows().size()==0)
        return null;

    ElectiveListHospitalConfigurationVoCollection collHosp = new ElectiveListHospitalConfigurationVoCollection();
    for (int i=0;i<form.ctnDetails().grdHospitals().getRows().size();i++)
    {
        if (form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue()==null)
            continue;

        ElectiveListHospitalConfigurationVo hosp = new ElectiveListHospitalConfigurationVo();
        hosp.setListLocation((LocSiteLiteVo)form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue());//WDEV-20064
        hosp.setCaseNoteFolderLocation((LocationLiteVo)form.ctnDetails().grdHospitals().getRows().get(i).getColCaseNote().getValue());//WDEV-20064
        collHosp.add(hosp);
    }

    return collHosp;
}
项目:openMAXIMS    文件:Logic.java   
private void populateHospitalsGrid(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null)
        return;

    for (int i=0;i<hospitals.size();i++)
    {
        grdHospitalsRow row = form.ctnDetails().grdHospitals().getRows().newRow();
        row.getColHospitals().newRow(hospitals.get(i).getListLocation(), hospitals.get(i).getListLocation().getName());
        row.getColHospitals().setValue(hospitals.get(i).getListLocation());

        //WDEV-20064
        if (hospitals.get(i).getCaseNoteFolderLocation()!=null)
        {
            row.getColCaseNote().newRow(hospitals.get(i).getCaseNoteFolderLocation(), hospitals.get(i).getCaseNoteFolderLocation().getName());
            row.getColCaseNote().setValue(hospitals.get(i).getCaseNoteFolderLocation());
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private String getHospitalsToDisplay(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null || hospitals.size()==0)
        return null;

    StringBuffer txtColHosp=new StringBuffer();

    for (int i=0;i<hospitals.size();i++)
    {
        txtColHosp.append(hospitals.get(i).getListLocation().getName());
        if (i < hospitals.size()-1)
        {
            txtColHosp.append(", ");
        }
    }

    return txtColHosp.toString();
}
项目:openMAXIMS    文件:Logic.java   
private ElectiveListHospitalConfigurationVoCollection getHospitalsFromGrid()
{
    if (form.ctnDetails().grdHospitals().getRows().size()==0)
        return null;

    ElectiveListHospitalConfigurationVoCollection collHosp = new ElectiveListHospitalConfigurationVoCollection();
    for (int i=0;i<form.ctnDetails().grdHospitals().getRows().size();i++)
    {
        if (form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue()==null)
            continue;

        ElectiveListHospitalConfigurationVo hosp = new ElectiveListHospitalConfigurationVo();
        hosp.setListLocation((LocationLiteVo)form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue());

        collHosp.add(hosp);
    }

    return collHosp;
}
项目:openmaxims-linux    文件:Logic.java   
private String getHospitalsToDisplay(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null || hospitals.size()==0)
        return null;

    StringBuffer txtColHosp=new StringBuffer();

    for (int i=0;i<hospitals.size();i++)
    {
        txtColHosp.append(hospitals.get(i).getListLocation().getName());
        if (i < hospitals.size()-1)
        {
            txtColHosp.append(", ");
        }
    }

    return txtColHosp.toString();
}
项目:openmaxims-linux    文件:Logic.java   
private ElectiveListHospitalConfigurationVoCollection getHospitalsFromGrid()
{
    if (form.ctnDetails().grdHospitals().getRows().size()==0)
        return null;

    ElectiveListHospitalConfigurationVoCollection collHosp = new ElectiveListHospitalConfigurationVoCollection();
    for (int i=0;i<form.ctnDetails().grdHospitals().getRows().size();i++)
    {
        if (form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue()==null)
            continue;

        ElectiveListHospitalConfigurationVo hosp = new ElectiveListHospitalConfigurationVo();
        hosp.setListLocation((LocationLiteVo)form.ctnDetails().grdHospitals().getRows().get(i).getColHospitals().getValue());

        collHosp.add(hosp);
    }

    return collHosp;
}
项目:AvoinApotti    文件:Logic.java   
private void populateHospitalsGrid(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null)
        return;

    for (int i=0;i<hospitals.size();i++)
    {
        grdHospitalsRow row = form.ctnDetails().grdHospitals().getRows().newRow();
        row.getColHospitals().newRow(hospitals.get(i).getListLocation(), hospitals.get(i).getListLocation().getName());
        row.getColHospitals().setValue(hospitals.get(i).getListLocation());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateHospitalsGrid(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null)
        return;

    for (int i=0;i<hospitals.size();i++)
    {
        grdHospitalsRow row = form.ctnDetails().grdHospitals().getRows().newRow();
        row.getColHospitals().newRow(hospitals.get(i).getListLocation(), hospitals.get(i).getListLocation().getName());
        row.getColHospitals().setValue(hospitals.get(i).getListLocation());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateHospitalsGrid(ElectiveListHospitalConfigurationVoCollection hospitals)
{
    if (hospitals==null)
        return;

    for (int i=0;i<hospitals.size();i++)
    {
        grdHospitalsRow row = form.ctnDetails().grdHospitals().getRows().newRow();
        row.getColHospitals().newRow(hospitals.get(i).getListLocation(), hospitals.get(i).getListLocation().getName());
        row.getColHospitals().setValue(hospitals.get(i).getListLocation());
    }
}