public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.emergency.vo.beans.CareContextForAttendanceNotesVoBean bean = null; if (map != null) bean = (ims.emergency.vo.beans.CareContextForAttendanceNotesVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.emergency.vo.beans.CareContextForAttendanceNotesVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public CareContextForAttendanceNotesVo( ims.emergency.vo.beans.CareContextForAttendanceNotesVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.startdatetime = bean.getStartDateTime() == null ? null : bean.getStartDateTime().buildDateTime(); this.enddatetime = bean.getEndDateTime() == null ? null : bean.getEndDateTime().buildDateTime(); this.responsiblehcp = bean.getResponsibleHCP() == null ? null : bean.getResponsibleHCP().buildVo(); }