VRF Function Arguments
The VRF functions use various subsets of the following common arguments:
Name | Type | Notes |
---|---|---|
vrfURI |
String | The universal resource identifier (URI) for the virtual rule function. This is typically the full path to the virtual rule function within the project directory. For example, in the
CreditCardApplication example, the virtual rule function
Person_VirtualRuleFunction() has the following URI:
/Virtual_RF/Person_VirtualRuleFunction |
vrfImpl |
Object | An object representing a virtual rule function implementation. This argument is required when invoking specific virtual rule function implementations. |
implName |
String | The name of a decision table (also known as a virtual rule function implementation). For example, in the
CreditCardApplication example, the virtual rule function
BankUser_VirtualRuleFunction has an implementation (decision table) called
bankUser .
The
|
args |
Object array | The arguments to be passed to one or more virtual rule function implementations on invocation. These objects consist of the concepts, events, scorecards, and so on, that are needed by the implementation or implementations. For example, the
processApplication implementation in the
CreditCardApplication example project requires concepts of type
Application ,
BankUser , and
CreditCardApplication to be passed as arguments. In order to invoke the
processApplication implementation, an instance of each concept type must be passed in the
args array.
|
returnValues |
Object array | Not used in this release. This argument is used only for the
invokeVRFImpls function. When invoking multiple implementations, the return value of each implementation is stored in this array. The array will contain a null entry for each implementation that does not return a value.
|