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

项目:AvoinApotti    文件:Logic.java   
private void removeUsedMovements()
{
    PatientHandlingMovementCollection collUsedItems = new PatientHandlingMovementCollection();
    if(form.getLocalContext().getSelectedParentInstanceIsNotNull())
    {
        PatientHandlingMovementVo voPatHandlingMovement = form.getLocalContext().getSelectedParentInstance();
        if(voPatHandlingMovement.getDetailsIsNotNull())
        {
            for(int i=0; i<voPatHandlingMovement.getDetails().size(); i++)
            {
                if(voPatHandlingMovement.getDetails().get(i).getMovementIsNotNull())
                    collUsedItems.add(voPatHandlingMovement.getDetails().get(i).getMovement());
            }
        }
    }
    for(int i=0;i<collUsedItems.size(); i++)
        form.ctnHandling().lyrDetails().tabDetails().cmbMovement().removeRow(collUsedItems.get(i));
}
项目:openMAXIMS    文件:Logic.java   
private void removeUsedMovements()
{
    PatientHandlingMovementCollection collUsedItems = new PatientHandlingMovementCollection();
    if(form.getLocalContext().getSelectedParentInstanceIsNotNull())
    {
        PatientHandlingMovementVo voPatHandlingMovement = form.getLocalContext().getSelectedParentInstance();
        if(voPatHandlingMovement.getDetailsIsNotNull())
        {
            for(int i=0; i<voPatHandlingMovement.getDetails().size(); i++)
            {
                if(voPatHandlingMovement.getDetails().get(i).getMovementIsNotNull())
                    collUsedItems.add(voPatHandlingMovement.getDetails().get(i).getMovement());
            }
        }
    }
    for(int i=0;i<collUsedItems.size(); i++)
        form.ctnHandling().lyrDetails().tabDetails().cmbMovement().removeRow(collUsedItems.get(i));
}
项目:openMAXIMS    文件:Logic.java   
private void removeUsedMovements()
{
    PatientHandlingMovementCollection collUsedItems = new PatientHandlingMovementCollection();
    if(form.getLocalContext().getSelectedParentInstanceIsNotNull())
    {
        PatientHandlingMovementVo voPatHandlingMovement = form.getLocalContext().getSelectedParentInstance();
        if(voPatHandlingMovement.getDetailsIsNotNull())
        {
            for(int i=0; i<voPatHandlingMovement.getDetails().size(); i++)
            {
                if(voPatHandlingMovement.getDetails().get(i).getMovementIsNotNull())
                    collUsedItems.add(voPatHandlingMovement.getDetails().get(i).getMovement());
            }
        }
    }
    for(int i=0;i<collUsedItems.size(); i++)
        form.ctnHandling().lyrDetails().tabDetails().cmbMovement().removeRow(collUsedItems.get(i));
}
项目:openmaxims-linux    文件:Logic.java   
private void removeUsedMovements()
{
    PatientHandlingMovementCollection collUsedItems = new PatientHandlingMovementCollection();
    if(form.getLocalContext().getSelectedParentInstanceIsNotNull())
    {
        PatientHandlingMovementVo voPatHandlingMovement = form.getLocalContext().getSelectedParentInstance();
        if(voPatHandlingMovement.getDetailsIsNotNull())
        {
            for(int i=0; i<voPatHandlingMovement.getDetails().size(); i++)
            {
                if(voPatHandlingMovement.getDetails().get(i).getMovementIsNotNull())
                    collUsedItems.add(voPatHandlingMovement.getDetails().get(i).getMovement());
            }
        }
    }
    for(int i=0;i<collUsedItems.size(); i++)
        form.ctnHandling().lyrDetails().tabDetails().cmbMovement().removeRow(collUsedItems.get(i));
}