public class CRBizRuleContext
extends java.lang.Object
构造器和说明 |
---|
CRBizRuleContext(BillEntityType mainType,
ConvertRuleElement convertRule,
CRBizRuleElement bizRule)
构造函数:适用于单据转换场景
|
CRBizRuleContext(BillEntityType mainType,
WriteBackRuleElement writebackRule,
CRBizRuleElement bizRule) |
限定符和类型 | 方法和说明 |
---|---|
CRBizRuleElement |
getBizRule()
业务规则配置元数据对象
|
ConvertRuleElement |
getConvertRule()
转换规则,可能为null,在执行单据转换时有值
|
FunctionManage |
getFuncLib()
业务规则支持的函数集
|
BillEntityType |
getMainType()
单据主实体
|
WriteBackRuleElement |
getWritebackRule()
反写规则,可能为null,在执行反写时有值
|
void |
setFuncLib(FunctionManage funcLib) |
public CRBizRuleContext(BillEntityType mainType, ConvertRuleElement convertRule, CRBizRuleElement bizRule)
mainType
- convertRule
- bizRule
- public CRBizRuleContext(BillEntityType mainType, WriteBackRuleElement writebackRule, CRBizRuleElement bizRule)
public BillEntityType getMainType()
public ConvertRuleElement getConvertRule()
public WriteBackRuleElement getWritebackRule()
public CRBizRuleElement getBizRule()
public FunctionManage getFuncLib()
public void setFuncLib(FunctionManage funcLib)