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

项目:AvoinApotti    文件:Logic.java   
@Override
protected void onGrdAssessmentsSelectionChanged()
{
    if (form.grdAssessments().getValue() instanceof OtherAssessmentSummaryVo)
    {
        form.getLocalContext().setSelectedRecord(form.grdAssessments().getValue());
        populateScreenFromData(form.getLocalContext().getSelectedRecord());
        form.ctnDetails().setCollapsed(false);
    }
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void populateScreenFromData(OtherAssessmentSummaryVo value)
{
    clearInstanceControls();
    if (value == null)
        return;
    super.populateScreenFromData(value);
    form.ctnDetails().ccBy().setValue(value.getCarriedOutBy());
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected OtherAssessmentSummaryVo populateDataFromScreen(OtherAssessmentSummaryVo value) {
        value =  super.populateDataFromScreen(value);
        value.setCarriedOutBy((HcpLiteVo) form.ctnDetails().ccBy().getValue());
        if (!value.getID_OtherAssessmentSummaryIsNotNull())
        {
            value.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
        }
        return value;
}
项目:AvoinApotti    文件:Logic.java   
private void populateListScreenFromData(OtherAssessmentSummaryVoCollection listOtherAssessments) {
    clear();
    if (listOtherAssessments == null)
        return;
    for (int i = 0 ; i < listOtherAssessments.size() ; i++)
    {
        OtherAssessmentSummaryVo assessmentVo = listOtherAssessments.get(i);
        if (assessmentVo == null)
            continue;
        addRowToGrid(assessmentVo);

    }

}
项目:AvoinApotti    文件:Logic.java   
private grdAssessmentsRow addRowToGrid(OtherAssessmentSummaryVo assessmentVo) {
    grdAssessmentsRow newRow = form.grdAssessments().getRows().newRow();
    newRow.setValue(assessmentVo);
    newRow.setColumnDate(assessmentVo.getAssessmentDateIsNotNull()?assessmentVo.getAssessmentDate().toString():null);
    newRow.setColumnName(assessmentVo.getAssessmentNameIsNotNull()?assessmentVo.getAssessmentName().getText():null);
    newRow.setColumnBy(assessmentVo.getCarriedOutByIsNotNull()?assessmentVo.getCarriedOutBy().getIHcpName():null);
    newRow.setColumnScore(assessmentVo.getScoreIsNotNull()?assessmentVo.getScore():null);
    return newRow;
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdAssessmentsSelectionChanged()
{
    if (form.grdAssessments().getValue() instanceof OtherAssessmentSummaryVo)
    {
        form.getLocalContext().setSelectedRecord(form.grdAssessments().getValue());
        populateScreenFromData(form.getLocalContext().getSelectedRecord());
        form.ctnDetails().setCollapsed(false);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void populateScreenFromData(OtherAssessmentSummaryVo value)
{
    clearInstanceControls();
    if (value == null)
        return;
    super.populateScreenFromData(value);
    form.ctnDetails().ccBy().setValue(value.getCarriedOutBy());
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected OtherAssessmentSummaryVo populateDataFromScreen(OtherAssessmentSummaryVo value) {
        value =  super.populateDataFromScreen(value);
        value.setCarriedOutBy((HcpLiteVo) form.ctnDetails().ccBy().getValue());
        if (!value.getID_OtherAssessmentSummaryIsNotNull())
        {
            value.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
        }
        return value;
}
项目:openMAXIMS    文件:Logic.java   
private void populateListScreenFromData(OtherAssessmentSummaryVoCollection listOtherAssessments) {
    clear();
    if (listOtherAssessments == null)
        return;
    for (int i = 0 ; i < listOtherAssessments.size() ; i++)
    {
        OtherAssessmentSummaryVo assessmentVo = listOtherAssessments.get(i);
        if (assessmentVo == null)
            continue;
        addRowToGrid(assessmentVo);

    }

}
项目:openMAXIMS    文件:Logic.java   
private grdAssessmentsRow addRowToGrid(OtherAssessmentSummaryVo assessmentVo) {
    grdAssessmentsRow newRow = form.grdAssessments().getRows().newRow();
    newRow.setValue(assessmentVo);
    newRow.setColumnDate(assessmentVo.getAssessmentDateIsNotNull()?assessmentVo.getAssessmentDate().toString():null);
    newRow.setColumnName(assessmentVo.getAssessmentNameIsNotNull()?assessmentVo.getAssessmentName().getText():null);
    newRow.setColumnBy(assessmentVo.getCarriedOutByIsNotNull()?assessmentVo.getCarriedOutBy().getIHcpName():null);
    newRow.setColumnScore(assessmentVo.getScoreIsNotNull()?assessmentVo.getScore():null);
    return newRow;
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onGrdAssessmentsSelectionChanged()
{
    if (form.grdAssessments().getValue() instanceof OtherAssessmentSummaryVo)
    {
        form.getLocalContext().setSelectedRecord(form.grdAssessments().getValue());
        populateScreenFromData(form.getLocalContext().getSelectedRecord());
        form.ctnDetails().setCollapsed(false);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void populateScreenFromData(OtherAssessmentSummaryVo value)
{
    clearInstanceControls();
    if (value == null)
        return;
    super.populateScreenFromData(value);
    form.ctnDetails().ccBy().setValue(value.getCarriedOutBy());
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected OtherAssessmentSummaryVo populateDataFromScreen(OtherAssessmentSummaryVo value) {
        value =  super.populateDataFromScreen(value);
        value.setCarriedOutBy((HcpLiteVo) form.ctnDetails().ccBy().getValue());
        if (!value.getID_OtherAssessmentSummaryIsNotNull())
        {
            value.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
        }
        return value;
}
项目:openMAXIMS    文件:Logic.java   
private void populateListScreenFromData(OtherAssessmentSummaryVoCollection listOtherAssessments) {
    clear();
    if (listOtherAssessments == null)
        return;
    for (int i = 0 ; i < listOtherAssessments.size() ; i++)
    {
        OtherAssessmentSummaryVo assessmentVo = listOtherAssessments.get(i);
        if (assessmentVo == null)
            continue;
        addRowToGrid(assessmentVo);

    }

}
项目:openMAXIMS    文件:Logic.java   
private grdAssessmentsRow addRowToGrid(OtherAssessmentSummaryVo assessmentVo) {
    grdAssessmentsRow newRow = form.grdAssessments().getRows().newRow();
    newRow.setValue(assessmentVo);
    newRow.setColumnDate(assessmentVo.getAssessmentDateIsNotNull()?assessmentVo.getAssessmentDate().toString():null);
    newRow.setColumnName(assessmentVo.getAssessmentNameIsNotNull()?assessmentVo.getAssessmentName().getText():null);
    newRow.setColumnBy(assessmentVo.getCarriedOutByIsNotNull()?assessmentVo.getCarriedOutBy().getIHcpName():null);
    newRow.setColumnScore(assessmentVo.getScoreIsNotNull()?assessmentVo.getScore():null);
    return newRow;
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void onGrdAssessmentsSelectionChanged()
{
    if (form.grdAssessments().getValue() instanceof OtherAssessmentSummaryVo)
    {
        form.getLocalContext().setSelectedRecord(form.grdAssessments().getValue());
        populateScreenFromData(form.getLocalContext().getSelectedRecord());
        form.ctnDetails().setCollapsed(false);
    }
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected void populateScreenFromData(OtherAssessmentSummaryVo value)
{
    clearInstanceControls();
    if (value == null)
        return;
    super.populateScreenFromData(value);
    form.ctnDetails().ccBy().setValue(value.getCarriedOutBy());
}
项目:openmaxims-linux    文件:Logic.java   
@Override
protected OtherAssessmentSummaryVo populateDataFromScreen(OtherAssessmentSummaryVo value) {
        value =  super.populateDataFromScreen(value);
        value.setCarriedOutBy((HcpLiteVo) form.ctnDetails().ccBy().getValue());
        if (!value.getID_OtherAssessmentSummaryIsNotNull())
        {
            value.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
        }
        return value;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateListScreenFromData(OtherAssessmentSummaryVoCollection listOtherAssessments) {
    clear();
    if (listOtherAssessments == null)
        return;
    for (int i = 0 ; i < listOtherAssessments.size() ; i++)
    {
        OtherAssessmentSummaryVo assessmentVo = listOtherAssessments.get(i);
        if (assessmentVo == null)
            continue;
        addRowToGrid(assessmentVo);

    }

}
项目:openmaxims-linux    文件:Logic.java   
private grdAssessmentsRow addRowToGrid(OtherAssessmentSummaryVo assessmentVo) {
    grdAssessmentsRow newRow = form.grdAssessments().getRows().newRow();
    newRow.setValue(assessmentVo);
    newRow.setColumnDate(assessmentVo.getAssessmentDateIsNotNull()?assessmentVo.getAssessmentDate().toString():null);
    newRow.setColumnName(assessmentVo.getAssessmentNameIsNotNull()?assessmentVo.getAssessmentName().getText():null);
    newRow.setColumnBy(assessmentVo.getCarriedOutByIsNotNull()?assessmentVo.getCarriedOutBy().getIHcpName():null);
    newRow.setColumnScore(assessmentVo.getScoreIsNotNull()?assessmentVo.getScore():null);
    return newRow;
}