I have some Java objects that make heavy use of Collection classes,
especially java.util.List. I also have a lot of rules that need to test
the size of a collection, or whether a collection contains a specific
item.
Looking through the documentation, it seems that Jess only has direct
support for arrays. Correct?
Another problem is how do get Jess to automatically detect changes in
collections. For example, the following statement should be able to
trigger rules:
entry.getNames().add("Test")
But where do I fire the property change event? Do I need to implement my
own List class, and register it with Jess? Any suggestions for dealing
with this issue?
--
Eric Jain
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------