예제 #1
0
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.beans.AlertAccessRightVoBean bean = null;
   if (map != null) bean = (ims.core.vo.beans.AlertAccessRightVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.core.vo.beans.AlertAccessRightVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
예제 #2
0
 public AlertAccessRightVo(ims.core.vo.beans.AlertAccessRightVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.alerttype =
       bean.getAlertType() == null
           ? null
           : ims.core.vo.lookups.AlertType.buildLookup(bean.getAlertType());
   this.access =
       bean.getAccess() == null
           ? null
           : ims.core.vo.lookups.AlertAccessRights.buildLookup(bean.getAccess());
 }
예제 #3
0
 public void populate(
     ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.AlertAccessRightVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.alerttype =
       bean.getAlertType() == null
           ? null
           : ims.core.vo.lookups.AlertType.buildLookup(bean.getAlertType());
   this.access =
       bean.getAccess() == null
           ? null
           : ims.core.vo.lookups.AlertAccessRights.buildLookup(bean.getAccess());
 }