public DrugToxicologyVo getDrugToxicology(DrugToxicologyRefVo drugToxicologyRef) { if (drugToxicologyRef == null || drugToxicologyRef.getID_DrugToxicology() == null) { throw new CodingRuntimeException("Cannot get DrugToxicology on null Id "); } DomainFactory factory = getDomainFactory(); DrugToxicology domainDrugToxicology = (DrugToxicology) factory.getDomainObject(DrugToxicology.class, drugToxicologyRef.getID_DrugToxicology()); return DrugToxicologyVoAssembler.create(domainDrugToxicology); }