Java 类ims.clinical.vo.SurgicalAuditSurgicalPackVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateSurgicalPackGrid( SurgicalAuditSurgicalPackVoCollection surgColl)
{
    if( surgColl != null && surgColl.size() == 0 )
        return;
    for( int i = 0; i < surgColl.size(); i++)
    {
        SurgicalAuditSurgicalPackVo tempVo = surgColl.get(i);
        if( tempVo != null )
        {
            grdSurgicalPackRow row = form.grdSurgicalPack().getRows().newRow();
            row.setColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setTooltipForColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setTooltipForColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setColumnFreeText(tempVo.getComment());
            row.setTooltipForColumnFreeText(tempVo.getComment());
            tempVo.setIsSaved(Boolean.TRUE);
            row.setValue(tempVo);
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateSurgicalPackGrid( SurgicalAuditSurgicalPackVoCollection surgColl)
{
    if( surgColl != null && surgColl.size() == 0 )
        return;
    for( int i = 0; i < surgColl.size(); i++)
    {
        SurgicalAuditSurgicalPackVo tempVo = surgColl.get(i);
        if( tempVo != null )
        {
            grdSurgicalPackRow row = form.grdSurgicalPack().getRows().newRow();
            row.setColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setTooltipForColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setTooltipForColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setColumnFreeText(tempVo.getComment());
            row.setTooltipForColumnFreeText(tempVo.getComment());
            tempVo.setIsSaved(Boolean.TRUE);
            row.setValue(tempVo);
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateSurgicalPackGrid( SurgicalAuditSurgicalPackVoCollection surgColl)
{
    if( surgColl != null && surgColl.size() == 0 )
        return;
    for( int i = 0; i < surgColl.size(); i++)
    {
        SurgicalAuditSurgicalPackVo tempVo = surgColl.get(i);
        if( tempVo != null )
        {
            grdSurgicalPackRow row = form.grdSurgicalPack().getRows().newRow();
            row.setColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setTooltipForColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setTooltipForColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setColumnFreeText(tempVo.getComment());
            row.setTooltipForColumnFreeText(tempVo.getComment());
            tempVo.setIsSaved(Boolean.TRUE);
            row.setValue(tempVo);
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populateSurgicalPackGrid( SurgicalAuditSurgicalPackVoCollection surgColl)
{
    if( surgColl != null && surgColl.size() == 0 )
        return;
    for( int i = 0; i < surgColl.size(); i++)
    {
        SurgicalAuditSurgicalPackVo tempVo = surgColl.get(i);
        if( tempVo != null )
        {
            grdSurgicalPackRow row = form.grdSurgicalPack().getRows().newRow();
            row.setColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setTooltipForColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null);
            row.setColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setTooltipForColumnBarcodeNo(tempVo.getBarcodeNumber());
            row.setColumnFreeText(tempVo.getComment());
            row.setTooltipForColumnFreeText(tempVo.getComment());
            tempVo.setIsSaved(Boolean.TRUE);
            row.setValue(tempVo);
        }
    }

}