public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.scheduling.vo.beans.SessionTheatreTCISlotLiteVoBean bean = null;
   if (map != null)
     bean = (ims.scheduling.vo.beans.SessionTheatreTCISlotLiteVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.scheduling.vo.beans.SessionTheatreTCISlotLiteVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public SessionTheatreTCISlotLiteVo(ims.scheduling.vo.beans.SessionTheatreTCISlotLiteVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.tocomeintime = bean.getToComeInTime() == null ? null : bean.getToComeInTime().buildTime();
   this.appointment =
       bean.getAppointment() == null
           ? null
           : new ims.scheduling.vo.Booking_AppointmentRefVo(
               new Integer(bean.getAppointment().getId()), bean.getAppointment().getVersion());
   this.status =
       bean.getStatus() == null
           ? null
           : ims.scheduling.vo.lookups.Status_Reason.buildLookup(bean.getStatus());
 }