public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.pci.vo.beans.ScheduleConfigurationVoBean bean = null; if (map != null) bean = (ims.pci.vo.beans.ScheduleConfigurationVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.pci.vo.beans.ScheduleConfigurationVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.pci.vo.beans.ScheduleConfigurationVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.schedulename = bean.getScheduleName(); this.status = bean.getStatus() == null ? null : ims.core.vo.lookups.PreActiveActiveInactiveStatus.buildLookup(bean.getStatus()); this.startdob = bean.getStartDob() == null ? null : bean.getStartDob().buildDate(); this.enddob = bean.getEndDob() == null ? null : bean.getEndDob().buildDate(); this.isdefaultschedule = bean.getIsDefaultSchedule(); this.scheduletype = bean.getScheduleType() == null ? null : ims.pci.vo.lookups.ScheduleType.buildLookup(bean.getScheduleType()); this.campaignstartdate = bean.getCampaignStartDate() == null ? null : bean.getCampaignStartDate().buildDate(); this.stages = ims.pci.vo.StageConfigurationVoCollection.buildFromBeanCollection(bean.getStages()); }