public OrderedInvestigationStatusVo(ims.ocrr.vo.beans.OrderedInvestigationStatusVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.ordinvstatus = bean.getOrdInvStatus() == null ? null : ims.ocrr.vo.lookups.OrderInvStatus.buildLookup(bean.getOrdInvStatus()); this.changedatetime = bean.getChangeDateTime() == null ? null : bean.getChangeDateTime().buildDateTime(); this.changeuser = bean.getChangeUser(); this.statusreason = bean.getStatusReason(); this.statuschangereason = bean.getStatusChangeReason() == null ? null : ims.ocrr.vo.lookups.InvestigationStatusChangeReason.buildLookup( bean.getStatusChangeReason()); this.processeddatetime = bean.getProcessedDateTime() == null ? null : bean.getProcessedDateTime().buildDateTime(); }
public IfOrderChangeResponseVo(ims.ocs_if.vo.beans.IfOrderChangeResponseVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.providersystem = bean.getProviderSystem() == null ? null : new ims.core.admin.vo.ProviderSystemRefVo( new Integer(bean.getProviderSystem().getId()), bean.getProviderSystem().getVersion()); this.investigation = bean.getInvestigation() == null ? null : new ims.ocrr.orderingresults.vo.OrderInvestigationRefVo( new Integer(bean.getInvestigation().getId()), bean.getInvestigation().getVersion()); this.statusreason = bean.getStatusReason(); this.causingstatus = bean.getCausingStatus() == null ? null : ims.ocrr.vo.lookups.OrderInvStatus.buildLookup(bean.getCausingStatus()); }