Java 类ims.clinical.vo.domain.DementiaAssessAndInvestigateVoAssembler 实例源码

项目:AvoinApotti    文件:DementiaAssessmentFormImpl.java   
public DementiaAssessAndInvestigateVo getFollowUpAMTS(DementiaAssessAndInvestigateRefVo amtsRefVo)
{
    if (amtsRefVo == null || amtsRefVo.getID_DementiaAssessAndInvestigate()== null)
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = (DementiaAssessAndInvestigate) factory.getDomainObject(DementiaAssessAndInvestigate.class, amtsRefVo.getID_DementiaAssessAndInvestigate());

    return DementiaAssessAndInvestigateVoAssembler.create(domainDementia);
}
项目:AvoinApotti    文件:DementiaCorrectCompletionDateStep2DialogImpl.java   
public void saveDementia(DementiaAssessAndInvestigateVo stepTwoAssesstoSave)throws StaleObjectException 
{
    if (stepTwoAssesstoSave == null )
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = DementiaAssessAndInvestigateVoAssembler.extractDementiaAssessAndInvestigate(factory, stepTwoAssesstoSave);
    factory.save(domainDementia);   

}
项目:openMAXIMS    文件:DementiaAssessmentFormImpl.java   
public DementiaAssessAndInvestigateVo getFollowUpAMTS(DementiaAssessAndInvestigateRefVo amtsRefVo)
{
    if (amtsRefVo == null || amtsRefVo.getID_DementiaAssessAndInvestigate()== null)
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = (DementiaAssessAndInvestigate) factory.getDomainObject(DementiaAssessAndInvestigate.class, amtsRefVo.getID_DementiaAssessAndInvestigate());

    return DementiaAssessAndInvestigateVoAssembler.create(domainDementia);
}
项目:openMAXIMS    文件:DementiaCorrectCompletionDateStep2DialogImpl.java   
public void saveDementia(DementiaAssessAndInvestigateVo stepTwoAssesstoSave)throws StaleObjectException 
{
    if (stepTwoAssesstoSave == null )
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = DementiaAssessAndInvestigateVoAssembler.extractDementiaAssessAndInvestigate(factory, stepTwoAssesstoSave);
    factory.save(domainDementia);   

}
项目:openMAXIMS    文件:DementiaAssessmentFormImpl.java   
public DementiaAssessAndInvestigateVo getFollowUpAMTS(DementiaAssessAndInvestigateRefVo amtsRefVo)
{
    if (amtsRefVo == null || amtsRefVo.getID_DementiaAssessAndInvestigate()== null)
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = (DementiaAssessAndInvestigate) factory.getDomainObject(DementiaAssessAndInvestigate.class, amtsRefVo.getID_DementiaAssessAndInvestigate());

    return DementiaAssessAndInvestigateVoAssembler.create(domainDementia);
}
项目:openMAXIMS    文件:DementiaCorrectCompletionDateStep2DialogImpl.java   
public void saveDementia(DementiaAssessAndInvestigateVo stepTwoAssesstoSave)throws StaleObjectException 
{
    if (stepTwoAssesstoSave == null )
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = DementiaAssessAndInvestigateVoAssembler.extractDementiaAssessAndInvestigate(factory, stepTwoAssesstoSave);
    factory.save(domainDementia);   

}
项目:openmaxims-linux    文件:DementiaAssessmentFormImpl.java   
public DementiaAssessAndInvestigateVo getFollowUpAMTS(DementiaAssessAndInvestigateRefVo amtsRefVo)
{
    if (amtsRefVo == null || amtsRefVo.getID_DementiaAssessAndInvestigate()== null)
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = (DementiaAssessAndInvestigate) factory.getDomainObject(DementiaAssessAndInvestigate.class, amtsRefVo.getID_DementiaAssessAndInvestigate());

    return DementiaAssessAndInvestigateVoAssembler.create(domainDementia);
}
项目:openmaxims-linux    文件:DementiaCorrectCompletionDateStep2DialogImpl.java   
public void saveDementia(DementiaAssessAndInvestigateVo stepTwoAssesstoSave)throws StaleObjectException 
{
    if (stepTwoAssesstoSave == null )
    {
        throw new CodingRuntimeException("Cannot get DementiaAssessAndInvestigateVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    DementiaAssessAndInvestigate domainDementia = DementiaAssessAndInvestigateVoAssembler.extractDementiaAssessAndInvestigate(factory, stepTwoAssesstoSave);
    factory.save(domainDementia);   

}