From: Sabari
We prefer to use mandarax as the rule engine in ou
Hospital Information System. To Begin With, We Have
Some FundamNetal Doubts Regarding The IMPLEMetation.
WE EXPECT YOR ADVICE for the Follwing Doubts.
1) Can We Pass a group of objects in a collection to
The Query? Say a Collection of Customer Objects.
WE Have Situations Similar To, Hundreds of Customer
Instances Which Go Through The Rule Checks and ONLY
Valid Customers Need To Be Returned (by querying the
Knowledgebase. So Here a Collection of Customers
Are Passed and a Collection of Valid Customers (May Be
A Collection of Valid Discounts Returned.
2) How can we pass Multiple arguments in to the
Inference Engine At Query Time?
Say I Want to Pass Both Customer Object, And His
TURN_OVER_OBJECT. is there any limited to the
NUMBER OF ARGUMENTS? Can We Pass An Object Array? and
IF SO, What Should Be Their Order?
3) TO Access The Member Variables of the Passing
Object We need to create Separate Jfunctions for Each
MEMBER. THIS A TEDIOS Process. Is there any other
Simple Alternative? WE Want to Access The VALUES JUST
By Specifying The Class Name and ITS Member Variables
Name.
Thanks,
Sabarinathan.