Java 类ims.therapies.vo.VisitSummaryVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateScreen(HomeVisitVo voHomeVisit) 
{
    form.getLocalContext().setVisitSummaryVo(null);
    if(voHomeVisit == null) return;

    form.customControlAuthoring().setValue(voHomeVisit.getAuthoringInformation());

    if(voHomeVisit.getHouseDetailsIsNotNull() && voHomeVisit.getHouseDetails().getAddressIsNotNull())
        form.txtAddress().setValue(voHomeVisit.getHouseDetails().getAddress());

    VisitSummaryVo voVisitSummary = voHomeVisit.getVisitSummary();

    if(voVisitSummary!=null)
    {
        form.txtProblems().setValue(voVisitSummary.getProblemsIdentified());
        form.txtRecommendations().setValue(voVisitSummary.getRecommendations());
        form.txtEquipmentReqs().setValue(voVisitSummary.getEquipment());
        form.txtConclusions().setValue(voVisitSummary.getConclusions());
    }

    form.getLocalContext().setHomeVisitVo(voHomeVisit);
    form.getLocalContext().setVisitSummaryVo(voHomeVisit.getVisitSummary());
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreen(HomeVisitVo voHomeVisit) 
{
    form.getLocalContext().setVisitSummaryVo(null);
    if(voHomeVisit == null) return;

    form.customControlAuthoring().setValue(voHomeVisit.getAuthoringInformation());

    if(voHomeVisit.getHouseDetailsIsNotNull() && voHomeVisit.getHouseDetails().getAddressIsNotNull())
        form.txtAddress().setValue(voHomeVisit.getHouseDetails().getAddress());

    VisitSummaryVo voVisitSummary = voHomeVisit.getVisitSummary();

    if(voVisitSummary!=null)
    {
        form.txtProblems().setValue(voVisitSummary.getProblemsIdentified());
        form.txtRecommendations().setValue(voVisitSummary.getRecommendations());
        form.txtEquipmentReqs().setValue(voVisitSummary.getEquipment());
        form.txtConclusions().setValue(voVisitSummary.getConclusions());
    }

    form.getLocalContext().setHomeVisitVo(voHomeVisit);
    form.getLocalContext().setVisitSummaryVo(voHomeVisit.getVisitSummary());
}
项目:openMAXIMS    文件:Logic.java   
private void populateScreen(HomeVisitVo voHomeVisit) 
{
    form.getLocalContext().setVisitSummaryVo(null);
    if(voHomeVisit == null) return;

    form.customControlAuthoring().setValue(voHomeVisit.getAuthoringInformation());

    if(voHomeVisit.getHouseDetailsIsNotNull() && voHomeVisit.getHouseDetails().getAddressIsNotNull())
        form.txtAddress().setValue(voHomeVisit.getHouseDetails().getAddress());

    VisitSummaryVo voVisitSummary = voHomeVisit.getVisitSummary();

    if(voVisitSummary!=null)
    {
        form.txtProblems().setValue(voVisitSummary.getProblemsIdentified());
        form.txtRecommendations().setValue(voVisitSummary.getRecommendations());
        form.txtEquipmentReqs().setValue(voVisitSummary.getEquipment());
        form.txtConclusions().setValue(voVisitSummary.getConclusions());
    }

    form.getLocalContext().setHomeVisitVo(voHomeVisit);
    form.getLocalContext().setVisitSummaryVo(voHomeVisit.getVisitSummary());
}
项目:openmaxims-linux    文件:Logic.java   
private void populateScreen(HomeVisitVo voHomeVisit) 
{
    form.getLocalContext().setVisitSummaryVo(null);
    if(voHomeVisit == null) return;

    form.customControlAuthoring().setValue(voHomeVisit.getAuthoringInformation());

    if(voHomeVisit.getHouseDetailsIsNotNull() && voHomeVisit.getHouseDetails().getAddressIsNotNull())
        form.txtAddress().setValue(voHomeVisit.getHouseDetails().getAddress());

    VisitSummaryVo voVisitSummary = voHomeVisit.getVisitSummary();

    if(voVisitSummary!=null)
    {
        form.txtProblems().setValue(voVisitSummary.getProblemsIdentified());
        form.txtRecommendations().setValue(voVisitSummary.getRecommendations());
        form.txtEquipmentReqs().setValue(voVisitSummary.getEquipment());
        form.txtConclusions().setValue(voVisitSummary.getConclusions());
    }

    form.getLocalContext().setHomeVisitVo(voHomeVisit);
    form.getLocalContext().setVisitSummaryVo(voHomeVisit.getVisitSummary());
}