RE: JESS: calling a method on a matched shadow fact

2007-01-15 Thread Skeptic 2000
of them. Thanks From: [EMAIL PROTECTED] Subject: Re: JESS: calling a method on a matched shadow fact Date: Fri, 3 Nov 2006 00:46:42 -0500 To: jess-users@sandia.gov On Nov 2, 2006, at 1:29 PM, Skeptic 2000 wrote: Let's say I have something like : (defclass xyz x.y.com.XYZ) (defrule x

Re: JESS: calling a method on a matched shadow fact

2007-01-15 Thread Ernest Friedman-Hill
some tests without having to call getXYZ for each one of them. Thanks From: [EMAIL PROTECTED] Subject: Re: JESS: calling a method on a matched shadow fact Date: Fri, 3 Nov 2006 00:46:42 -0500 To: jess-users@sandia.gov On Nov 2, 2006, at 1:29 PM, Skeptic 2000 wrote: Let's say I have

JESS: calling a method on a matched shadow fact

2006-11-02 Thread Skeptic 2000
Hi, Let's say I have something like : (defclass xyz x.y.com.XYZ) (defrule x ?x-(xyz) = (...) In the RHS, I would like to call a method that is not a bean get/set on the matched 'xyz', what would be the proper way? (If possible, this method would take a string as argument) Thanks, JFL

Re: JESS: calling a method on a matched shadow fact

2006-11-02 Thread Ernest Friedman-Hill
On Nov 2, 2006, at 1:29 PM, Skeptic 2000 wrote: Let's say I have something like : (defclass xyz x.y.com.XYZ) (defrule x ?x-(xyz) = (...) In the RHS, I would like to call a method that is not a bean get/ set on the matched 'xyz', what would be the proper way? (If possible, this method