Java 类ims.emergency.vo.domain.WoundImagesVoAssembler 实例源码

项目:AvoinApotti    文件:WoundImagesCCImpl.java   
public WoundImagesVo getWoundImagesVo(WoundImageRefVo woundImageRef)
{
    if (woundImageRef == null || woundImageRef.getID_WoundImage()== null)
    {
        throw new CodingRuntimeException("Cannot get EDWoundImagesRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    WoundImage domainEDWoundImages = (WoundImage) factory.getDomainObject(WoundImage.class, woundImageRef.getID_WoundImage());

    return WoundImagesVoAssembler.create(domainEDWoundImages);
}
项目:openMAXIMS    文件:WoundImagesCCImpl.java   
public WoundImagesVo getWoundImagesVo(WoundImageRefVo woundImageRef)
{
    if (woundImageRef == null || woundImageRef.getID_WoundImage()== null)
    {
        throw new CodingRuntimeException("Cannot get EDWoundImagesRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    WoundImage domainEDWoundImages = (WoundImage) factory.getDomainObject(WoundImage.class, woundImageRef.getID_WoundImage());

    return WoundImagesVoAssembler.create(domainEDWoundImages);
}
项目:openMAXIMS    文件:WoundImagesCCImpl.java   
public WoundImagesVo getWoundImagesVo(WoundImageRefVo woundImageRef)
{
    if (woundImageRef == null || woundImageRef.getID_WoundImage()== null)
    {
        throw new CodingRuntimeException("Cannot get EDWoundImagesRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    WoundImage domainEDWoundImages = (WoundImage) factory.getDomainObject(WoundImage.class, woundImageRef.getID_WoundImage());

    return WoundImagesVoAssembler.create(domainEDWoundImages);
}
项目:openmaxims-linux    文件:WoundImagesCCImpl.java   
public WoundImagesVo getWoundImagesVo(WoundImageRefVo woundImageRef)
{
    if (woundImageRef == null || woundImageRef.getID_WoundImage()== null)
    {
        throw new CodingRuntimeException("Cannot get EDWoundImagesRefVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    WoundImage domainEDWoundImages = (WoundImage) factory.getDomainObject(WoundImage.class, woundImageRef.getID_WoundImage());

    return WoundImagesVoAssembler.create(domainEDWoundImages);
}