Java 类ims.core.vo.CareSpellShortVo 实例源码

项目:AvoinApotti    文件:ADTAdmissionDetailsComponentImpl.java   
public CareSpellShortVo getCareSpell(CareSpellRefVo careSpellRef)
{
    if(careSpellRef == null || careSpellRef.getID_CareSpell()==null)
        throw new CodingRuntimeException("Cannot get CareSpell value on null careSpellRef.");

    DomainFactory factory = getDomainFactory();
    CareSpell domCareSpell=(CareSpell) factory.getDomainObject(CareSpell.class, careSpellRef.getID_CareSpell());
    return CareSpellShortVoAssembler.create(domCareSpell);
}
项目:openMAXIMS    文件:ADTAdmissionDetailsComponentImpl.java   
public CareSpellShortVo getCareSpell(CareSpellRefVo careSpellRef)
{
    if(careSpellRef == null || careSpellRef.getID_CareSpell()==null)
        throw new CodingRuntimeException("Cannot get CareSpell value on null careSpellRef.");

    DomainFactory factory = getDomainFactory();
    CareSpell domCareSpell=(CareSpell) factory.getDomainObject(CareSpell.class, careSpellRef.getID_CareSpell());
    return CareSpellShortVoAssembler.create(domCareSpell);
}
项目:openMAXIMS    文件:ADTAdmissionDetailsComponentImpl.java   
public CareSpellShortVo getCareSpell(CareSpellRefVo careSpellRef)
{
    if(careSpellRef == null || careSpellRef.getID_CareSpell()==null)
        throw new CodingRuntimeException("Cannot get CareSpell value on null careSpellRef.");

    DomainFactory factory = getDomainFactory();
    CareSpell domCareSpell=(CareSpell) factory.getDomainObject(CareSpell.class, careSpellRef.getID_CareSpell());
    return CareSpellShortVoAssembler.create(domCareSpell);
}
项目:openmaxims-linux    文件:ADTAdmissionDetailsComponentImpl.java   
public CareSpellShortVo getCareSpell(CareSpellRefVo careSpellRef)
{
    if(careSpellRef == null || careSpellRef.getID_CareSpell()==null)
        throw new CodingRuntimeException("Cannot get CareSpell value on null careSpellRef.");

    DomainFactory factory = getDomainFactory();
    CareSpell domCareSpell=(CareSpell) factory.getDomainObject(CareSpell.class, careSpellRef.getID_CareSpell());
    return CareSpellShortVoAssembler.create(domCareSpell);
}