In NPDRules, the non-persistent rule Definer class, Sample_DTbl_Definer class must implement two principal types of methods:
argRuleName is String argRulePriority is integer argConditionArray is array of &ConditionData argActionArray is array of &ActionData
The "trick" is to pass this method the pointers to structures that hold the condition and action values that define the desired decision table. Conditions and Actions are defined as instances of the ConditionData and ActionData classes, respectively.
| Copyright © 2009 CA. All rights reserved. | Send E-mail to CA about this topic |