public ClinicalContactVo getClinicalContact(ClinicalContactShortVo voClinicalContactShort) { if (voClinicalContactShort == null) return null; DomainFactory factory = getDomainFactory(); ClinicalContact domClinicalContact = (ClinicalContact)factory.getDomainObject(ClinicalContact.class,voClinicalContactShort.getID_ClinicalContact()); ims.core.vo.ClinicalContactVo contactVo = ClinicalContactVoAssembler.create(domClinicalContact); return contactVo; }
/** * getClinicalContact */ public ims.core.vo.ClinicalContactVo getClinicalContact(Integer nId) { if(nId != null) { DomainFactory factory = getDomainFactory(); ClinicalContact doClinicalContact = (ClinicalContact) factory.getDomainObject(ClinicalContact.class, nId); return ClinicalContactVoAssembler.create(doClinicalContact); } return null; }
public ClinicalContactVo getClinicalContact(Integer id) { if(id != null) { DomainFactory factory = getDomainFactory(); ClinicalContact doClinicalContact = (ClinicalContact) factory.getDomainObject(ClinicalContact.class, id); return ClinicalContactVoAssembler.create(doClinicalContact); } return null; }