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