public ims.dtomove.vo.RadioTherapySchedQueueVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.dtomove.vo.RadioTherapySchedQueueVo vo = null; if (map != null) vo = (ims.dtomove.vo.RadioTherapySchedQueueVo) map.getValueObject(this); if (vo == null) { vo = new ims.dtomove.vo.RadioTherapySchedQueueVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public void populate(ims.vo.ValueObjectBeanMap map, ims.dtomove.vo.RadioTherapySchedQueueVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.wasprocessed = vo.getWasProcessed(); this.wasdiscarded = vo.getWasDiscarded(); this.msgtext = vo.getMsgText(); this.acktext = vo.getAckText(); this.failuremsg = vo.getFailureMsg(); this.providersystem = vo.getProviderSystem() == null ? null : (ims.ocrr.vo.beans.ProviderSystemVoBean) vo.getProviderSystem().getBean(map); this.messagestatus = vo.getMessageStatus() == null ? null : (ims.vo.LookupInstanceBean) vo.getMessageStatus().getBean(); this.msgtype = vo.getMsgType() == null ? null : (ims.vo.LookupInstanceBean) vo.getMsgType().getBean(); this.queuetype = vo.getQueueType() == null ? null : (ims.vo.LookupInstanceBean) vo.getQueueType().getBean(); this.appointment = vo.getAppointment() == null ? null : new ims.vo.RefVoBean( vo.getAppointment().getBoId(), vo.getAppointment().getBoVersion()); this.appointmentidx = vo.getAppointmentIDX(); this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion()); }