public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) { ims.core.vo.beans.ConfigFlagReferenceVoBean bean = null; if (map != null) bean = (ims.core.vo.beans.ConfigFlagReferenceVoBean) map.getValueObjectBean(this); if (bean == null) { bean = new ims.core.vo.beans.ConfigFlagReferenceVoBean(); map.addValueObjectBean(this, bean); bean.populate(map, this); } return bean; }
public ConfigFlagReferenceVo(ims.core.vo.beans.ConfigFlagReferenceVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.flaggroupname = bean.getFlagGroupName(); this.flagname = bean.getFlagName(); this.module = bean.getModule(); if (bean.getForms() != null) { this.forms = new ims.core.configuration.vo.AppFormRefVoCollection(); for (int forms_i = 0; forms_i < bean.getForms().length; forms_i++) { this.forms.add( new ims.core.configuration.vo.AppFormRefVo( new Integer(bean.getForms()[forms_i].getId()), bean.getForms()[forms_i].getVersion())); } } }