public SessionForReferralAppointmentVo( ims.scheduling.vo.beans.SessionForReferralAppointmentVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.name = bean.getName(); this.service = bean.getService() == null ? null : bean.getService().buildVo(); this.isfixed = bean.getIsFixed(); this.sch_profile = bean.getSch_Profile() == null ? null : bean.getSch_Profile().buildVo(); this.schlocation = bean.getSchLocation() == null ? null : bean.getSchLocation().buildVo(); }
public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.scheduling.vo.beans.SessionForReferralAppointmentVoBean bean = null; if (map != null) bean = (ims.scheduling.vo.beans.SessionForReferralAppointmentVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.scheduling.vo.beans.SessionForReferralAppointmentVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }