Java 类ims.nursing.vo.lookups.HygieneActivitiesCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void prePopulateHygieneGrd() 
{
    GenForm.container1Container.gridHygieneRow row;
    form.container1().gridHygiene().getRows().clear();
    HygieneActivitiesCollection activityColl = LookupHelper.getHygieneActivities(domain.getLookupService());
    for (int i=0; i<activityColl.size(); i++)
    {
        String activiyToolTip = new String();
        HygieneActivities act = activityColl.get(i);
        activiyToolTip = "" + act.getText();
        row = form.container1().gridHygiene().getRows().newRow();
        row.setcolActivities(act);
        row.setTooltipForcolActivities(activiyToolTip);
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateHygieneGrd() 
{
    GenForm.container1Container.gridHygieneRow row;
    form.container1().gridHygiene().getRows().clear();
    HygieneActivitiesCollection activityColl = LookupHelper.getHygieneActivities(domain.getLookupService());
    for (int i=0; i<activityColl.size(); i++)
    {
        String activiyToolTip = new String();
        HygieneActivities act = activityColl.get(i);
        activiyToolTip = "" + act.getText();
        row = form.container1().gridHygiene().getRows().newRow();
        row.setcolActivities(act);
        row.setTooltipForcolActivities(activiyToolTip);
    }       
}
项目:openMAXIMS    文件:Logic.java   
private void prePopulateHygieneGrd() 
{
    GenForm.container1Container.gridHygieneRow row;
    form.container1().gridHygiene().getRows().clear();
    HygieneActivitiesCollection activityColl = LookupHelper.getHygieneActivities(domain.getLookupService());
    for (int i=0; i<activityColl.size(); i++)
    {
        String activiyToolTip = new String();
        HygieneActivities act = activityColl.get(i);
        activiyToolTip = "" + act.getText();
        row = form.container1().gridHygiene().getRows().newRow();
        row.setcolActivities(act);
        row.setTooltipForcolActivities(activiyToolTip);
    }       
}
项目:openmaxims-linux    文件:Logic.java   
private void prePopulateHygieneGrd() 
{
    GenForm.container1Container.gridHygieneRow row;
    form.container1().gridHygiene().getRows().clear();
    HygieneActivitiesCollection activityColl = LookupHelper.getHygieneActivities(domain.getLookupService());
    for (int i=0; i<activityColl.size(); i++)
    {
        String activiyToolTip = new String();
        HygieneActivities act = activityColl.get(i);
        activiyToolTip = "" + act.getText();
        row = form.container1().gridHygiene().getRows().newRow();
        row.setcolActivities(act);
        row.setTooltipForcolActivities(activiyToolTip);
    }       
}
项目:AvoinApotti    文件:Logic.java   
private void populateHygieneGrd(ims.nursing.vo.HygieneActivitiesCollection voHygieneActColl)
{
    //Populate the grid Hygiene Activities
    if (voHygieneActColl != null)
    {
        ims.nursing.vo.HygieneActivities voHygiene ;
        for (int j=0; j<voHygieneActColl.size(); j++)
        {
            voHygiene = voHygieneActColl.get(j);
            GenForm.container1Container.gridHygieneRow row;
            int numRows = form.container1().gridHygiene().getRows().size();
            int i = 0;
            for (i = 0; i < numRows; i++)
            {
                row = form.container1().gridHygiene().getRows().get(i);
                if (voHygiene.getActivities().equals(row.getcolActivities()))
                {
                    String abilityToolTip, aidsToolTip = new String();
                    row.setcolAbility(voHygiene.getAbility());
                    if(voHygiene.getAbilityIsNotNull())
                    {
                        abilityToolTip = "" + voHygiene.getAbility();
                        row.setTooltipForcolAbility(abilityToolTip);
                    }

                    row.setcolAids(voHygiene.getAidsUsed());
                    if(voHygiene.getAidsUsedIsNotNull())
                    {
                        aidsToolTip = "" + voHygiene.getAidsUsed();
                        row.setTooltipForcolAids(aidsToolTip);
                    }
                    row.setValue(voHygiene);
                    break;
                }
            }
            if(i == form.container1().gridHygiene().getRows().size())
            {
                row = form.container1().gridHygiene().getRows().newRow();
                row.setcolActivities(voHygiene.getActivities());
                row.setcolAbility(voHygiene.getAbility());
                row.setcolAids(voHygiene.getAidsUsed());
                row.setValue(voHygiene);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateHygieneGrd(ims.nursing.vo.HygieneActivitiesCollection voHygieneActColl)
{
    //Populate the grid Hygiene Activities
    if (voHygieneActColl != null)
    {
        ims.nursing.vo.HygieneActivities voHygiene ;
        for (int j=0; j<voHygieneActColl.size(); j++)
        {
            voHygiene = voHygieneActColl.get(j);
            GenForm.container1Container.gridHygieneRow row;
            int numRows = form.container1().gridHygiene().getRows().size();
            int i = 0;
            for (i = 0; i < numRows; i++)
            {
                row = form.container1().gridHygiene().getRows().get(i);
                if (voHygiene.getActivities().equals(row.getcolActivities()))
                {
                    String abilityToolTip, aidsToolTip = new String();
                    row.setcolAbility(voHygiene.getAbility());
                    if(voHygiene.getAbilityIsNotNull())
                    {
                        abilityToolTip = "" + voHygiene.getAbility();
                        row.setTooltipForcolAbility(abilityToolTip);
                    }

                    row.setcolAids(voHygiene.getAidsUsed());
                    if(voHygiene.getAidsUsedIsNotNull())
                    {
                        aidsToolTip = "" + voHygiene.getAidsUsed();
                        row.setTooltipForcolAids(aidsToolTip);
                    }
                    row.setValue(voHygiene);
                    break;
                }
            }
            if(i == form.container1().gridHygiene().getRows().size())
            {
                row = form.container1().gridHygiene().getRows().newRow();
                row.setcolActivities(voHygiene.getActivities());
                row.setcolAbility(voHygiene.getAbility());
                row.setcolAids(voHygiene.getAidsUsed());
                row.setValue(voHygiene);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateHygieneGrd(ims.nursing.vo.HygieneActivitiesCollection voHygieneActColl)
{
    //Populate the grid Hygiene Activities
    if (voHygieneActColl != null)
    {
        ims.nursing.vo.HygieneActivities voHygiene ;
        for (int j=0; j<voHygieneActColl.size(); j++)
        {
            voHygiene = voHygieneActColl.get(j);
            GenForm.container1Container.gridHygieneRow row;
            int numRows = form.container1().gridHygiene().getRows().size();
            int i = 0;
            for (i = 0; i < numRows; i++)
            {
                row = form.container1().gridHygiene().getRows().get(i);
                if (voHygiene.getActivities().equals(row.getcolActivities()))
                {
                    String abilityToolTip, aidsToolTip = new String();
                    row.setcolAbility(voHygiene.getAbility());
                    if(voHygiene.getAbilityIsNotNull())
                    {
                        abilityToolTip = "" + voHygiene.getAbility();
                        row.setTooltipForcolAbility(abilityToolTip);
                    }

                    row.setcolAids(voHygiene.getAidsUsed());
                    if(voHygiene.getAidsUsedIsNotNull())
                    {
                        aidsToolTip = "" + voHygiene.getAidsUsed();
                        row.setTooltipForcolAids(aidsToolTip);
                    }
                    row.setValue(voHygiene);
                    break;
                }
            }
            if(i == form.container1().gridHygiene().getRows().size())
            {
                row = form.container1().gridHygiene().getRows().newRow();
                row.setcolActivities(voHygiene.getActivities());
                row.setcolAbility(voHygiene.getAbility());
                row.setcolAids(voHygiene.getAidsUsed());
                row.setValue(voHygiene);
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateHygieneGrd(ims.nursing.vo.HygieneActivitiesCollection voHygieneActColl)
{
    //Populate the grid Hygiene Activities
    if (voHygieneActColl != null)
    {
        ims.nursing.vo.HygieneActivities voHygiene ;
        for (int j=0; j<voHygieneActColl.size(); j++)
        {
            voHygiene = voHygieneActColl.get(j);
            GenForm.container1Container.gridHygieneRow row;
            int numRows = form.container1().gridHygiene().getRows().size();
            int i = 0;
            for (i = 0; i < numRows; i++)
            {
                row = form.container1().gridHygiene().getRows().get(i);
                if (voHygiene.getActivities().equals(row.getcolActivities()))
                {
                    String abilityToolTip, aidsToolTip = new String();
                    row.setcolAbility(voHygiene.getAbility());
                    if(voHygiene.getAbilityIsNotNull())
                    {
                        abilityToolTip = "" + voHygiene.getAbility();
                        row.setTooltipForcolAbility(abilityToolTip);
                    }

                    row.setcolAids(voHygiene.getAidsUsed());
                    if(voHygiene.getAidsUsedIsNotNull())
                    {
                        aidsToolTip = "" + voHygiene.getAidsUsed();
                        row.setTooltipForcolAids(aidsToolTip);
                    }
                    row.setValue(voHygiene);
                    break;
                }
            }
            if(i == form.container1().gridHygiene().getRows().size())
            {
                row = form.container1().gridHygiene().getRows().newRow();
                row.setcolActivities(voHygiene.getActivities());
                row.setcolAbility(voHygiene.getAbility());
                row.setcolAids(voHygiene.getAidsUsed());
                row.setValue(voHygiene);
            }
        }
    }
}