Java

本类阅读TOP10

·使用MyEclipse开发Struts框架的Hello World!(录像1)
·hibernate配置笔记
·AOP编程入门--Java篇
·linux下Tomcat 5.0.20 与 Apache 2 安装/集成/配置
·在win2003下整合了整合Tomcat5.5+ apache_2.0.53+ mod_jk_2.0.47.dll
·构建Linux下IDE环境--Eclipse篇
·Jsp 连接 mySQL、Oracle 数据库备忘(Windows平台)
·ASP、JSP、PHP 三种技术比较
·Tomcat5.5.9的安装配置
·AWT GUI 设计笔记(二)

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
Mandarax的改进方向(From mandarax maillist)

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

From: sabari <nathsabari@ya...>
Passing Collection of objects and multiple arguments  
2004-01-12 08:05
 Hi, 
    We prefer to use mandarax as the rule engine in our
 Hospital Information System. To begin with, we have
 some fundamnetal doubts regarding the implemetation.
 We expect your 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 limitation 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 is a tedious 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.




相关文章

相关软件