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

项目: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);
        }
    }

}
项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    clearAll();

    if( form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPackIsNotNull())
    {
        if( Boolean.FALSE.equals( form.getGlobalContext().Clinical.getSurgicalAuditAddEditSurgicalPack()))
        {
            SurgicalAuditSurgicalPackVo tempVo = form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPack();
            if( tempVo != null )
            {
                form.cmbNameSetDevice().setValue(tempVo.getSurgicalPack());
                form.txtBarCodeNumber().setValue(tempVo.getBarcodeNumber());
                form.txtComment().setValue(tempVo.getComment());
            }
        }
    }
}
项目: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   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    clearAll();

    if( form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPackIsNotNull())
    {
        if( Boolean.FALSE.equals( form.getGlobalContext().Clinical.getSurgicalAuditAddEditSurgicalPack()))
        {
            SurgicalAuditSurgicalPackVo tempVo = form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPack();
            if( tempVo != null )
            {
                form.cmbNameSetDevice().setValue(tempVo.getSurgicalPack());
                form.txtBarCodeNumber().setValue(tempVo.getBarcodeNumber());
                form.txtComment().setValue(tempVo.getComment());
            }
        }
    }
}
项目: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   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    clearAll();

    if( form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPackIsNotNull())
    {
        if( Boolean.FALSE.equals( form.getGlobalContext().Clinical.getSurgicalAuditAddEditSurgicalPack()))
        {
            SurgicalAuditSurgicalPackVo tempVo = form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPack();
            if( tempVo != null )
            {
                form.cmbNameSetDevice().setValue(tempVo.getSurgicalPack());
                form.txtBarCodeNumber().setValue(tempVo.getBarcodeNumber());
                form.txtComment().setValue(tempVo.getComment());
            }
        }
    }
}
项目: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);
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    clearAll();

    if( form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPackIsNotNull())
    {
        if( Boolean.FALSE.equals( form.getGlobalContext().Clinical.getSurgicalAuditAddEditSurgicalPack()))
        {
            SurgicalAuditSurgicalPackVo tempVo = form.getGlobalContext().Clinical.getSurgicalAuditSurgicalPack();
            if( tempVo != null )
            {
                form.cmbNameSetDevice().setValue(tempVo.getSurgicalPack());
                form.txtBarCodeNumber().setValue(tempVo.getBarcodeNumber());
                form.txtComment().setValue(tempVo.getComment());
            }
        }
    }
}