public ims.scheduling.vo.SessionTheatreTCISlotLiteVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.scheduling.vo.SessionTheatreTCISlotLiteVo vo = null; if (map != null) vo = (ims.scheduling.vo.SessionTheatreTCISlotLiteVo) map.getValueObject(this); if (vo == null) { vo = new ims.scheduling.vo.SessionTheatreTCISlotLiteVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public SessionTheatreTCISlotLiteVoBean(ims.scheduling.vo.SessionTheatreTCISlotLiteVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.tocomeintime = vo.getToComeInTime() == null ? null : (ims.framework.utils.beans.TimeBean) vo.getToComeInTime().getBean(); this.appointment = vo.getAppointment() == null ? null : new ims.vo.RefVoBean( vo.getAppointment().getBoId(), vo.getAppointment().getBoVersion()); this.status = vo.getStatus() == null ? null : (ims.vo.LookupInstanceBean) vo.getStatus().getBean(); }