public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.ocrr.vo.beans.PathologyResultListShortVoBean bean = null; if (map != null) bean = (ims.ocrr.vo.beans.PathologyResultListShortVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.ocrr.vo.beans.PathologyResultListShortVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.ocrr.vo.beans.PathologyResultListShortVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.investigation = bean.getInvestigation() == null ? null : bean.getInvestigation().buildVo(map); this.orderdetails = bean.getOrderDetails() == null ? null : bean.getOrderDetails().buildVo(map); this.resultdemographics = bean.getResultDemographics() == null ? null : bean.getResultDemographics().buildVo(map); this.displaydatetime = bean.getDisplayDateTime() == null ? null : bean.getDisplayDateTime().buildDateTime(); this.resultstatus = bean.getResultStatus() == null ? null : ims.ocrr.vo.lookups.ResultStatus.buildLookup(bean.getResultStatus()); this.displayflag = bean.getDisplayFlag() == null ? null : ims.ocrr.vo.lookups.OcsDisplayFlag.buildLookup(bean.getDisplayFlag()); this.ordinvcurrentstatus = bean.getOrdInvCurrentStatus() == null ? null : bean.getOrdInvCurrentStatus().buildVo(map); this.specimen = ims.ocrr.vo.PathologySpecimenLiteVoCollection.buildFromBeanCollection(bean.getSpecimen()); this.repdatetime = bean.getRepDateTime() == null ? null : bean.getRepDateTime().buildDateTime(); this.displaytimesupplied = bean.getDisplayTimeSupplied(); this.resultspecimentype = bean.getResultSpecimenType() == null ? null : bean.getResultSpecimenType().buildLookupInstVo(); this.resultdetails = bean.getResultDetails() == null ? null : bean.getResultDetails().buildVo(map); this.placerordnum = bean.getPlacerOrdNum(); this.allocatedhcpforreview = bean.getAllocatedHCPforReview() == null ? null : bean.getAllocatedHCPforReview().buildVo(map); this.daterequested = bean.getDateRequested() == null ? null : bean.getDateRequested().buildDate(); }