public ims.pci.vo.DeliverShotDetailsVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.pci.vo.DeliverShotDetailsVo vo = null; if (map != null) vo = (ims.pci.vo.DeliverShotDetailsVo) map.getValueObject(this); if (vo == null) { vo = new ims.pci.vo.DeliverShotDetailsVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.pci.vo.DeliverShotDetailsVo vo) { this.delivereddate = vo.getDeliveredDate() == null ? null : (ims.framework.utils.beans.DateBean) vo.getDeliveredDate().getBean(); this.vaccinemanufacturer = vo.getVaccineManufacturer() == null ? null : (ims.vo.LookupInstanceBean) vo.getVaccineManufacturer().getBean(); this.expirydate = vo.getExpiryDate() == null ? null : (ims.framework.utils.beans.DateBean) vo.getExpiryDate().getBean(); this.batchnumber = vo.getBatchNumber(); this.paymenttype = vo.getPaymentType() == null ? null : (ims.vo.LookupInstanceBean) vo.getPaymentType().getBean(); this.deliveredby = vo.getDeliveredBy() == null ? null : (ims.core.vo.beans.HcpLiteVoBean) vo.getDeliveredBy().getBean(map); this.deliveredbygp = vo.getDeliveredByGp() == null ? null : (ims.core.vo.beans.GpShortVoBean) vo.getDeliveredByGp().getBean(map); this.paymentgp = vo.getPaymentGp() == null ? null : (ims.core.vo.beans.GpShortVoBean) vo.getPaymentGp().getBean(map); }