public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.core.vo.beans.PatientTransportRequirementsVoBean bean = null; if (map != null) bean = (ims.core.vo.beans.PatientTransportRequirementsVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.core.vo.beans.PatientTransportRequirementsVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public PatientTransportRequirementsVo(ims.core.vo.beans.PatientTransportRequirementsVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.carecontext = bean.getCareContext() == null ? null : new ims.core.admin.vo.CareContextRefVo( new Integer(bean.getCareContext().getId()), bean.getCareContext().getVersion()); this.transportrequired = bean.getTransportRequired(); this.transport = bean.getTransport() == null ? null : ims.scheduling.vo.lookups.ApptTransportType.buildLookup(bean.getTransport()); this.specialrequirements = bean.getSpecialRequirements(); }