コード例 #1
0
ファイル: GP.java プロジェクト: HobbesFNM/openMAXIMS
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.beans.GPBean bean = null;
   if (map != null) bean = (ims.core.vo.beans.GPBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.core.vo.beans.GPBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
コード例 #2
0
ファイル: GP.java プロジェクト: HobbesFNM/openMAXIMS
 public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.GPBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.name = bean.getName() == null ? null : bean.getName().buildVo(map);
   this.codemappings =
       ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getCodeMappings());
   this.commchannels =
       ims.core.vo.CommChannelVoCollection.buildFromBeanCollection(bean.getCommChannels());
   this.practices =
       ims.core.vo.GpToPracticesVoCollection.buildFromBeanCollection(bean.getPractices());
   this.status =
       bean.getStatus() == null
           ? null
           : ims.core.vo.lookups.GPStatus.buildLookup(bean.getStatus());
   this.dummyfield = bean.getDummyField();
 }