public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.ocs_if.vo.beans.OCSPatientNotificationsVoBean bean = null; if (map != null) bean = (ims.ocs_if.vo.beans.OCSPatientNotificationsVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.ocs_if.vo.beans.OCSPatientNotificationsVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.ocs_if.vo.beans.OCSPatientNotificationsVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.patient = bean.getPatient() == null ? null : new ims.core.patient.vo.PatientRefVo( new Integer(bean.getPatient().getId()), bean.getPatient().getVersion()); this.newresults = bean.getNewResults() == null ? null : new ims.core.clinical.vo.PatientOCSNewResultsRefVo( new Integer(bean.getNewResults().getId()), bean.getNewResults().getVersion()); this.seenresults = bean.getSeenResults() == null ? null : new ims.core.clinical.vo.PatientOCSSeenResultsRefVo( new Integer(bean.getSeenResults().getId()), bean.getSeenResults().getVersion()); }