Java 类ims.emergency.vo.WoundImagesVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateRecordBrowser()
{
    if( form.getLocalContext().getEDAssessmentWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImages().size() > 0)
    {
        WoundImagesVo tempVo = null;
        WoundImagesVoCollection tempColl =  form.getLocalContext().getEDAssessmentWoundImages().getWoundImages();
        tempColl.sort(new WoundImageComparator(SortOrder.DESCENDING));

        for(int i = 0; i < tempColl.size();i++)
        {
            tempVo = tempColl.get(i);
            if( tempVo != null)
            {
                form.recbrwoundImages().newRow(tempVo, tempVo.getAuthoringInformation().getAuthoringHcp().getIHcpName() + " - " +tempVo.getAuthoringInformation().getAuthoringDateTime().toString() );
            }
        }
        if( !form.getLocalContext().getCurrentWoundImageIsNotNull())
            form.getLocalContext().setCurrentWoundImage(tempColl.get(0));

        form.recbrwoundImages().setValue(form.getLocalContext().getCurrentWoundImage());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateRecordBrowser()
{
    if( form.getLocalContext().getEDAssessmentWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImages().size() > 0)
    {
        WoundImagesVo tempVo = null;
        WoundImagesVoCollection tempColl =  form.getLocalContext().getEDAssessmentWoundImages().getWoundImages();
        tempColl.sort(new WoundImageComparator(SortOrder.DESCENDING));

        for(int i = 0; i < tempColl.size();i++)
        {
            tempVo = tempColl.get(i);
            if( tempVo != null)
            {
                form.recbrwoundImages().newRow(tempVo, tempVo.getAuthoringInformation().getAuthoringHcp().getIHcpName() + " - " +tempVo.getAuthoringInformation().getAuthoringDateTime().toString() );
            }
        }
        if( !form.getLocalContext().getCurrentWoundImageIsNotNull())
            form.getLocalContext().setCurrentWoundImage(tempColl.get(0));

        form.recbrwoundImages().setValue(form.getLocalContext().getCurrentWoundImage());
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateRecordBrowser()
{
    if( form.getLocalContext().getEDAssessmentWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImages().size() > 0)
    {
        WoundImagesVo tempVo = null;
        WoundImagesVoCollection tempColl =  form.getLocalContext().getEDAssessmentWoundImages().getWoundImages();
        tempColl.sort(new WoundImageComparator(SortOrder.DESCENDING));

        for(int i = 0; i < tempColl.size();i++)
        {
            tempVo = tempColl.get(i);
            if( tempVo != null)
            {
                form.recbrwoundImages().newRow(tempVo, tempVo.getAuthoringInformation().getAuthoringHcp().getIHcpName() + " - " +tempVo.getAuthoringInformation().getAuthoringDateTime().toString() );
            }
        }
        if( !form.getLocalContext().getCurrentWoundImageIsNotNull())
            form.getLocalContext().setCurrentWoundImage(tempColl.get(0));

        form.recbrwoundImages().setValue(form.getLocalContext().getCurrentWoundImage());
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateRecordBrowser()
{
    if( form.getLocalContext().getEDAssessmentWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImagesIsNotNull() && form.getLocalContext().getEDAssessmentWoundImages().getWoundImages().size() > 0)
    {
        WoundImagesVo tempVo = null;
        WoundImagesVoCollection tempColl =  form.getLocalContext().getEDAssessmentWoundImages().getWoundImages();
        tempColl.sort(new WoundImageComparator(SortOrder.DESCENDING));

        for(int i = 0; i < tempColl.size();i++)
        {
            tempVo = tempColl.get(i);
            if( tempVo != null)
            {
                form.recbrwoundImages().newRow(tempVo, tempVo.getAuthoringInformation().getAuthoringHcp().getIHcpName() + " - " +tempVo.getAuthoringInformation().getAuthoringDateTime().toString() );
            }
        }
        if( !form.getLocalContext().getCurrentWoundImageIsNotNull())
            form.getLocalContext().setCurrentWoundImage(tempColl.get(0));

        form.recbrwoundImages().setValue(form.getLocalContext().getCurrentWoundImage());
    }
}