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); }