コード例 #1
0
 public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.MedicGradeVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.grade =
       bean.getGrade() == null
           ? null
           : ims.core.vo.lookups.MedicGrade.buildLookup(bean.getGrade());
 }
コード例 #2
0
 public MedicGradeVo(ims.core.vo.beans.MedicGradeVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.grade =
       bean.getGrade() == null
           ? null
           : ims.core.vo.lookups.MedicGrade.buildLookup(bean.getGrade());
 }
コード例 #3
0
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.beans.MedicGradeVoBean bean = null;
   if (map != null) bean = (ims.core.vo.beans.MedicGradeVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.core.vo.beans.MedicGradeVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }