java类ims.therapies.vo.BobathVoCollection的实例源码

BobathImpl.java 文件源码 项目:AvoinApotti 阅读 21 收藏 0 点赞 0 评论 0
/**
* get Bobath record for a clinical contact
*/
public BobathVo getBoBath(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new CodingRuntimeException("Bobath Filter not provided for get call. ");

    String hql = new String("from Bobath b where b.clinicalContact.id = :CLINICAL_CONTACT_ID");

    BobathVoCollection bobaths = BobathVoAssembler.createBobathVoCollectionFromBobath(getDomainFactory().find(hql, "CLINICAL_CONTACT_ID", voClinicalContact.getID_ClinicalContact()));

    if (bobaths.size() > 0)
        return bobaths.get(0);

    return null;
}
BobathImpl.java 文件源码 项目:openMAXIMS 阅读 17 收藏 0 点赞 0 评论 0
/**
* get Bobath record for a clinical contact
*/
public BobathVo getBoBath(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new CodingRuntimeException("Bobath Filter not provided for get call. ");

    String hql = new String("from Bobath b where b.clinicalContact.id = :CLINICAL_CONTACT_ID");

    BobathVoCollection bobaths = BobathVoAssembler.createBobathVoCollectionFromBobath(getDomainFactory().find(hql, "CLINICAL_CONTACT_ID", voClinicalContact.getID_ClinicalContact()));

    if (bobaths.size() > 0)
        return bobaths.get(0);

    return null;
}
BobathImpl.java 文件源码 项目:openMAXIMS 阅读 19 收藏 0 点赞 0 评论 0
/**
* get Bobath record for a clinical contact
*/
public BobathVo getBoBath(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new CodingRuntimeException("Bobath Filter not provided for get call. ");

    String hql = new String("from Bobath b where b.clinicalContact.id = :CLINICAL_CONTACT_ID");

    BobathVoCollection bobaths = BobathVoAssembler.createBobathVoCollectionFromBobath(getDomainFactory().find(hql, "CLINICAL_CONTACT_ID", voClinicalContact.getID_ClinicalContact()));

    if (bobaths.size() > 0)
        return bobaths.get(0);

    return null;
}
BobathImpl.java 文件源码 项目:openmaxims-linux 阅读 27 收藏 0 点赞 0 评论 0
/**
* get Bobath record for a clinical contact
*/
public BobathVo getBoBath(ims.core.vo.ClinicalContactShortVo voClinicalContact)
{
    if(voClinicalContact == null)
        throw new CodingRuntimeException("Bobath Filter not provided for get call. ");

    String hql = new String("from Bobath b where b.clinicalContact.id = :CLINICAL_CONTACT_ID");

    BobathVoCollection bobaths = BobathVoAssembler.createBobathVoCollectionFromBobath(getDomainFactory().find(hql, "CLINICAL_CONTACT_ID", voClinicalContact.getID_ClinicalContact()));

    if (bobaths.size() > 0)
        return bobaths.get(0);

    return null;
}


问题


面经


文章

微信
公众号

扫码关注公众号