Java 类ims.clinical.vo.lookups.SkinClosureCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private boolean populateSkinClosureGrid()
{
    SkinClosureCollection skinClosureColl = (ims.clinical.vo.lookups.LookupHelper.getSkinClosure(domain.getLookupService()));

    if (skinClosureColl == null || skinClosureColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().clear();
    for (int i = 0; i < skinClosureColl.size(); i++)
    {
        grdSkinClosureRow newRow = form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().newRow();
        newRow.setcolSkinClosure(skinClosureColl.get(i).getIItemText());
        newRow.setValue(skinClosureColl.get(i));
    }

    return true;
}
项目:AvoinApotti    文件:Logic.java   
private void setSkinClosureGrid(SkinClosureCollection skinClosure)
{
    if (skinClosure == null || skinClosure.size() == 0)
        return;

    for (int i = 0; i < skinClosure.size(); i++)
    {
        if (skinClosure.get(i) == null)
            continue;

        for (int j = 0; j < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); j++)
        {
            if (skinClosure.get(i).equals(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).getValue()))
            {
                form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).setcolSelect(true);
                break;
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private boolean populateSkinClosureGrid()
{
    SkinClosureCollection skinClosureColl = (ims.clinical.vo.lookups.LookupHelper.getSkinClosure(domain.getLookupService()));

    if (skinClosureColl == null || skinClosureColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().clear();
    for (int i = 0; i < skinClosureColl.size(); i++)
    {
        grdSkinClosureRow newRow = form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().newRow();
        newRow.setcolSkinClosure(skinClosureColl.get(i).getIItemText());
        newRow.setValue(skinClosureColl.get(i));
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void setSkinClosureGrid(SkinClosureCollection skinClosure)
{
    if (skinClosure == null || skinClosure.size() == 0)
        return;

    for (int i = 0; i < skinClosure.size(); i++)
    {
        if (skinClosure.get(i) == null)
            continue;

        for (int j = 0; j < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); j++)
        {
            if (skinClosure.get(i).equals(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).getValue()))
            {
                form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).setcolSelect(true);
                break;
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private boolean populateSkinClosureGrid()
{
    SkinClosureCollection skinClosureColl = (ims.clinical.vo.lookups.LookupHelper.getSkinClosure(domain.getLookupService()));

    if (skinClosureColl == null || skinClosureColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().clear();
    for (int i = 0; i < skinClosureColl.size(); i++)
    {
        grdSkinClosureRow newRow = form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().newRow();
        newRow.setcolSkinClosure(skinClosureColl.get(i).getIItemText());
        newRow.setValue(skinClosureColl.get(i));
    }

    return true;
}
项目:openMAXIMS    文件:Logic.java   
private void setSkinClosureGrid(SkinClosureCollection skinClosure)
{
    if (skinClosure == null || skinClosure.size() == 0)
        return;

    for (int i = 0; i < skinClosure.size(); i++)
    {
        if (skinClosure.get(i) == null)
            continue;

        for (int j = 0; j < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); j++)
        {
            if (skinClosure.get(i).equals(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).getValue()))
            {
                form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).setcolSelect(true);
                break;
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private boolean populateSkinClosureGrid()
{
    SkinClosureCollection skinClosureColl = (ims.clinical.vo.lookups.LookupHelper.getSkinClosure(domain.getLookupService()));

    if (skinClosureColl == null || skinClosureColl.size() == 0)
    {
        return false;
    }

    form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().clear();
    for (int i = 0; i < skinClosureColl.size(); i++)
    {
        grdSkinClosureRow newRow = form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().newRow();
        newRow.setcolSkinClosure(skinClosureColl.get(i).getIItemText());
        newRow.setValue(skinClosureColl.get(i));
    }

    return true;
}
项目:openmaxims-linux    文件:Logic.java   
private void setSkinClosureGrid(SkinClosureCollection skinClosure)
{
    if (skinClosure == null || skinClosure.size() == 0)
        return;

    for (int i = 0; i < skinClosure.size(); i++)
    {
        if (skinClosure.get(i) == null)
            continue;

        for (int j = 0; j < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); j++)
        {
            if (skinClosure.get(i).equals(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).getValue()))
            {
                form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(j).setcolSelect(true);
                break;
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private SkinClosureCollection getFromSkinClosureGrid()
{
    SkinClosureCollection skinClosureCollection = new SkinClosureCollection();

    for (int i = 0; i < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); i++)
    {
        if (form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getcolSelect())
        {
            skinClosureCollection.add(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getValue());
        }
    }

    return skinClosureCollection.size() == 0 ? null : skinClosureCollection;
}
项目:openMAXIMS    文件:Logic.java   
private SkinClosureCollection getFromSkinClosureGrid()
{
    SkinClosureCollection skinClosureCollection = new SkinClosureCollection();

    for (int i = 0; i < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); i++)
    {
        if (form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getcolSelect())
        {
            skinClosureCollection.add(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getValue());
        }
    }

    return skinClosureCollection.size() == 0 ? null : skinClosureCollection;
}
项目:openMAXIMS    文件:Logic.java   
private SkinClosureCollection getFromSkinClosureGrid()
{
    SkinClosureCollection skinClosureCollection = new SkinClosureCollection();

    for (int i = 0; i < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); i++)
    {
        if (form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getcolSelect())
        {
            skinClosureCollection.add(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getValue());
        }
    }

    return skinClosureCollection.size() == 0 ? null : skinClosureCollection;
}
项目:openmaxims-linux    文件:Logic.java   
private SkinClosureCollection getFromSkinClosureGrid()
{
    SkinClosureCollection skinClosureCollection = new SkinClosureCollection();

    for (int i = 0; i < form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().size(); i++)
    {
        if (form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getcolSelect())
        {
            skinClosureCollection.add(form.lyr1().tabDetails().ctn1().grdSkinClosure().getRows().get(i).getValue());
        }
    }

    return skinClosureCollection.size() == 0 ? null : skinClosureCollection;
}