Hi,
Do jess rules that fire based on shadow facts work with 
polymorphism/inheritance?

For example:
class A {}
class B extends A {}


Case 1:
  (definstance B ..)
  (defrule inherit-rule1
   (A)
   =>
   ....

will this rule fire ?

Case 2:
  (definstance A ?objectInstanceOfB ..)
  (defrule poly-rule-1
     (B)
   =>
   ...

will this rule fire ?


Thanks

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to