コード例 #1
0
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.therapies.vo.beans.ComplementaryTherapyTreatmentVoBean bean = null;
   if (map != null)
     bean =
         (ims.therapies.vo.beans.ComplementaryTherapyTreatmentVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.therapies.vo.beans.ComplementaryTherapyTreatmentVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
コード例 #2
0
 public ComplementaryTherapyTreatmentVo(
     ims.therapies.vo.beans.ComplementaryTherapyTreatmentVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.clinicalcontact =
       bean.getClinicalContact() == null ? null : bean.getClinicalContact().buildVo();
   this.authoringdatetime =
       bean.getAuthoringDateTime() == null ? null : bean.getAuthoringDateTime().buildDateTime();
   this.authoringcp = bean.getAuthoringCP() == null ? null : bean.getAuthoringCP().buildVo();
   this.complementarytherapy =
       ims.therapies.vo.ComplementaryTherapyDetailsVoCollection.buildFromBeanCollection(
           bean.getComplementaryTherapy());
 }