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; }
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()); }
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()); }