public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.clinical.vo.beans.GoalPlanningVoBean bean = null; if (map != null) bean = (ims.clinical.vo.beans.GoalPlanningVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.clinical.vo.beans.GoalPlanningVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public void populate( ims.vo.ValueObjectBeanMap map, ims.clinical.vo.beans.GoalPlanningVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.authoringinformation = bean.getAuthoringInformation() == null ? null : bean.getAuthoringInformation().buildVo(map); this.clinicalcontact = bean.getClinicalContact() == null ? null : bean.getClinicalContact().buildVo(map); this.carecontext = bean.getCareContext() == null ? null : bean.getCareContext().buildVo(map); this.goalplanningdate = bean.getGoalPlanningDate() == null ? null : bean.getGoalPlanningDate().buildDate(); this.predicateddischargedate = bean.getPredicatedDischargeDate() == null ? null : bean.getPredicatedDischargeDate().buildPartialDate(); this.goalplanningoutcome = bean.getGoalPlanningOutcome() == null ? null : ims.clinical.vo.lookups.GoalPlanningOutcome.buildLookup( bean.getGoalPlanningOutcome()); this.primecancelreason = bean.getPrimeCancelReason() == null ? null : ims.clinical.vo.lookups.GoalPlanningCancellationReason.buildLookup( bean.getPrimeCancelReason()); this.predictednextgoalplanning = bean.getPredictedNextGoalPlanning() == null ? null : bean.getPredictedNextGoalPlanning().buildPartialDate(); this.dischargedelayvalue = bean.getDischargeDelayValue(); this.dischargedelayunit = bean.getDischargeDelayUnit() == null ? null : ims.core.vo.lookups.TimeDaystoYears.buildLookup(bean.getDischargeDelayUnit()); this.isgoalplanningconf = bean.getIsGoalPlanningConf(); this.minutes = bean.getMinutes(); this.comments = bean.getComments(); this.invitees = ims.clinical.vo.GoalPlanningMeetingAttendeeVoCollection.buildFromBeanCollection( bean.getInvitees()); }