Java 类ims.nursing.vo.PropertyChecklistShortVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void addRowRecord(PropertyChecklistShortVo record)
{   
    if(record == null)
        return;

    GenForm.grdListRow row = form.grdList().getRows().newRow(record.equals
            (form.getLocalContext().getEditedRecord()));

    row.setColType(record.getMovementType().getText()) ;
    LocShortVo recordWard = record.getWardIsNotNull() ? record.getWard() : null;
    row.setColWard(recordWard.getName());
    row.setColDate(record.getAuthoringDateTime().toString());
    HcpLiteVo recordHCP = record.getAuthoringHCPIsNotNull() ? record.getAuthoringHCP() : null;
    row.setColAuthoring(recordHCP.getMos().getName().toString());

    row.setValue(record);
}
项目:AvoinApotti    文件:Logic.java   
private boolean isMoveTypeConfigured(MovementType type) 
{       
    for(int x = 0; x < form.grdList().getRows().size(); x++)
    {
        PropertyChecklistShortVo value = form.grdList().getRows().get(x).getValue();

        if(value != null && 
                value.getMovementType() != null && 
                    value.getMovementType().equals(type) &&
                        !value.getMovementType().equals(MovementType.TRANSFER))
        {
            return true;
        }
    }
    return false;
}
项目:AvoinApotti    文件:Logic.java   
private void updateRowRecord(PropertyChecklistVo record) 
{
    if (record == null)
        return;

    for (int j = 0; j < form.grdList().getRows().size(); j++) 
    {
        PropertyChecklistShortVo existingRecord = form.grdList().getRows().get(j).getValue();
        if (existingRecord != null && existingRecord.equals(record)) 
        {
            updateRowRecord(form.grdList().getRows().get(j), record);

            break;
        }
    }

    if (form.ctnDetails().cmbMoveType().getValue().equals(MovementType.TRANSFER))
    {
        showWardDest();
    }
    else
    {
        showOnlyWard();
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addRowRecord(PropertyChecklistShortVo record)
{   
    if(record == null)
        return;

    GenForm.grdListRow row = form.grdList().getRows().newRow(record.equals
            (form.getLocalContext().getEditedRecord()));

    row.setColType(record.getMovementType().getText()) ;
    LocShortVo recordWard = record.getWardIsNotNull() ? record.getWard() : null;
    row.setColWard(recordWard.getName());
    row.setColDate(record.getAuthoringDateTime().toString());
    HcpLiteVo recordHCP = record.getAuthoringHCPIsNotNull() ? record.getAuthoringHCP() : null;
    row.setColAuthoring(recordHCP.getMos().getName().toString());

    row.setValue(record);
}
项目:openMAXIMS    文件:Logic.java   
private boolean isMoveTypeConfigured(MovementType type) 
{       
    for(int x = 0; x < form.grdList().getRows().size(); x++)
    {
        PropertyChecklistShortVo value = form.grdList().getRows().get(x).getValue();

        if(value != null && 
                value.getMovementType() != null && 
                    value.getMovementType().equals(type) &&
                        !value.getMovementType().equals(MovementType.TRANSFER))
        {
            return true;
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void updateRowRecord(PropertyChecklistVo record) 
{
    if (record == null)
        return;

    for (int j = 0; j < form.grdList().getRows().size(); j++) 
    {
        PropertyChecklistShortVo existingRecord = form.grdList().getRows().get(j).getValue();
        if (existingRecord != null && existingRecord.equals(record)) 
        {
            updateRowRecord(form.grdList().getRows().get(j), record);

            break;
        }
    }

    if (form.ctnDetails().cmbMoveType().getValue().equals(MovementType.TRANSFER))
    {
        showWardDest();
    }
    else
    {
        showOnlyWard();
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addRowRecord(PropertyChecklistShortVo record)
{   
    if(record == null)
        return;

    GenForm.grdListRow row = form.grdList().getRows().newRow(record.equals
            (form.getLocalContext().getEditedRecord()));

    row.setColType(record.getMovementType().getText()) ;
    LocShortVo recordWard = record.getWardIsNotNull() ? record.getWard() : null;
    row.setColWard(recordWard.getName());
    row.setColDate(record.getAuthoringDateTime().toString());
    HcpLiteVo recordHCP = record.getAuthoringHCPIsNotNull() ? record.getAuthoringHCP() : null;
    row.setColAuthoring(recordHCP.getMos().getName().toString());

    row.setValue(record);
}
项目:openMAXIMS    文件:Logic.java   
private boolean isMoveTypeConfigured(MovementType type) 
{       
    for(int x = 0; x < form.grdList().getRows().size(); x++)
    {
        PropertyChecklistShortVo value = form.grdList().getRows().get(x).getValue();

        if(value != null && 
                value.getMovementType() != null && 
                    value.getMovementType().equals(type) &&
                        !value.getMovementType().equals(MovementType.TRANSFER))
        {
            return true;
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private void updateRowRecord(PropertyChecklistVo record) 
{
    if (record == null)
        return;

    for (int j = 0; j < form.grdList().getRows().size(); j++) 
    {
        PropertyChecklistShortVo existingRecord = form.grdList().getRows().get(j).getValue();
        if (existingRecord != null && existingRecord.equals(record)) 
        {
            updateRowRecord(form.grdList().getRows().get(j), record);

            break;
        }
    }

    if (form.ctnDetails().cmbMoveType().getValue().equals(MovementType.TRANSFER))
    {
        showWardDest();
    }
    else
    {
        showOnlyWard();
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void addRowRecord(PropertyChecklistShortVo record)
{   
    if(record == null)
        return;

    GenForm.grdListRow row = form.grdList().getRows().newRow(record.equals
            (form.getLocalContext().getEditedRecord()));

    row.setColType(record.getMovementType().getText()) ;
    LocShortVo recordWard = record.getWardIsNotNull() ? record.getWard() : null;
    row.setColWard(recordWard.getName());
    row.setColDate(record.getAuthoringDateTime().toString());
    HcpLiteVo recordHCP = record.getAuthoringHCPIsNotNull() ? record.getAuthoringHCP() : null;
    row.setColAuthoring(recordHCP.getMos().getName().toString());

    row.setValue(record);
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isMoveTypeConfigured(MovementType type) 
{       
    for(int x = 0; x < form.grdList().getRows().size(); x++)
    {
        PropertyChecklistShortVo value = form.grdList().getRows().get(x).getValue();

        if(value != null && 
                value.getMovementType() != null && 
                    value.getMovementType().equals(type) &&
                        !value.getMovementType().equals(MovementType.TRANSFER))
        {
            return true;
        }
    }
    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private void updateRowRecord(PropertyChecklistVo record) 
{
    if (record == null)
        return;

    for (int j = 0; j < form.grdList().getRows().size(); j++) 
    {
        PropertyChecklistShortVo existingRecord = form.grdList().getRows().get(j).getValue();
        if (existingRecord != null && existingRecord.equals(record)) 
        {
            updateRowRecord(form.grdList().getRows().get(j), record);

            break;
        }
    }

    if (form.ctnDetails().cmbMoveType().getValue().equals(MovementType.TRANSFER))
    {
        showWardDest();
    }
    else
    {
        showOnlyWard();
    }
}
项目:AvoinApotti    文件:Logic.java   
private PropertyChecklistVo getAndDisplayRecord(PropertyChecklistShortVo refRecord) 
{
    clear();
    if(refRecord == null)
        return null;

    PropertyChecklistVo record = domain.get(refRecord);
    form.getLocalContext().setEditedRecord(record);

    populateScreenFromData(record); 

    return record;  
}
项目:openMAXIMS    文件:Logic.java   
private PropertyChecklistVo getAndDisplayRecord(PropertyChecklistShortVo refRecord) 
{
    clear();
    if(refRecord == null)
        return null;

    PropertyChecklistVo record = domain.get(refRecord);
    form.getLocalContext().setEditedRecord(record);

    populateScreenFromData(record); 

    return record;  
}
项目:openMAXIMS    文件:Logic.java   
private PropertyChecklistVo getAndDisplayRecord(PropertyChecklistShortVo refRecord) 
{
    clear();
    if(refRecord == null)
        return null;

    PropertyChecklistVo record = domain.get(refRecord);
    form.getLocalContext().setEditedRecord(record);

    populateScreenFromData(record); 

    return record;  
}
项目:openmaxims-linux    文件:Logic.java   
private PropertyChecklistVo getAndDisplayRecord(PropertyChecklistShortVo refRecord) 
{
    clear();
    if(refRecord == null)
        return null;

    PropertyChecklistVo record = domain.get(refRecord);
    form.getLocalContext().setEditedRecord(record);

    populateScreenFromData(record); 

    return record;  
}