package com.huigou.uasp.form.pojo.analysis;

import java.util.List;

import net.sf.ezmorph.bean.MorphDynaBean;

import com.huigou.uasp.form.pojo.Root;
import com.huigou.uasp.form.pojo.TableColumns;

public class GetRootTableColumns implements AttributeTypeInter{

	@Override
	public Root getRootByAttrName(String attrName, Root object,
		  MorphDynaBean bean, List<TableColumns> tableColumnsList) {
		  tableColumnsList.addAll(PublicAnalysis.getTableColumnsBeans(bean,attrName));
		  object.setTableColumns(tableColumnsList);
   	      return object;
	}

}
