public SentToXrayVo getSentToXRay(SentToXrayRefVo sentToXRay) { if (sentToXRay == null || sentToXRay.getID_SentToXray() == null) { throw new CodingRuntimeException("Cannot get SentToXrayVo on null Id "); } DomainFactory factory = getDomainFactory(); SentToXray domainSentToXRay = (SentToXray) factory.getDomainObject(SentToXray.class, sentToXRay.getID_SentToXray()); return SentToXrayVoAssembler.create(domainSentToXRay); }