package nc.ui.wa.ruleex.formular;

import java.util.List;

import nc.ui.hr.formula.HRFormulaItem;
import nc.ui.wa.formular.ItemTableCreator;
import nc.vo.pub.formulaedit.FormulaItem;
import nc.vo.uap.busibean.exception.BusiBeanException;

/**
 * 薪资规则表-TableCreator
 * 
 * @author: xuhw
 * @date: 2010-4-14 下午03:16:26
 * @since: eHR V6.0
 * @走查人:
 * @走查日期:
 * @修改人:
 * @修改日期:
 */
public class WaRuleTableCreator extends ItemTableCreator
{
	@Override
	public List<FormulaItem> getAllTables() throws BusiBeanException
	{
		List<FormulaItem> items = super.getAllTables();
		String strPrmDisplayName = IWaRuleVariableFactory.GRADENAME + IWaRuleVariableFactory.WA_PRMLV_DES;
		items.add(new HRFormulaItem(IWaRuleVariableFactory.WA_PRMLV_TABLE, strPrmDisplayName, strPrmDisplayName, strPrmDisplayName));
		String strSecDisplayName = IWaRuleVariableFactory.GRADENAME + IWaRuleVariableFactory.WA_SECLV_DES;
		items.add(new HRFormulaItem(IWaRuleVariableFactory.WA_SECLV_TABLE, strSecDisplayName, strSecDisplayName, strSecDisplayName));
		return items;
	}
}
