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()); }