public TrackingWithPartialAdmissionVo( ims.emergency.vo.beans.TrackingWithPartialAdmissionVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.currentpartialadmission = bean.getCurrentPartialAdmission() == null ? null : bean.getCurrentPartialAdmission().buildVo(); this.currenttransferrecord = bean.getCurrentTransferRecord() == null ? null : bean.getCurrentTransferRecord().buildVo(); }
public void populate( ims.vo.ValueObjectBeanMap map, ims.emergency.vo.beans.TrackingWithPartialAdmissionVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.currentpartialadmission = bean.getCurrentPartialAdmission() == null ? null : bean.getCurrentPartialAdmission().buildVo(map); this.currenttransferrecord = bean.getCurrentTransferRecord() == null ? null : bean.getCurrentTransferRecord().buildVo(map); }