Hi Helge, If you override the toString() method on each of those classes, you should be good to go. The <Java-Object:...> is probably just the result of the default toString() method.
Max > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Helge Hartmann > Sent: Monday, March 26, 2007 2:14 PM > To: [email protected] > Subject: JESS: watch function: result of toString() instead > of object type > > Hello! > > The watch function is realy helpful for debugging. But not > when I use Java Objects. > Is it possible to get teh value of the toSting() method > instead of the object type? > > > > FIRE 1 evaluateHand::printHandInformationAndEvaluate f-1 ==> > f-2 (MAIN::points (player > <Java-Object:bbes.model.RelativePlayerPosition>) (type > <Java-Object:bbes.model.PointsType>) (points 12)) ==> f-3 > (MAIN::points (player > <Java-Object:bbes.model.RelativePlayerPosition>) (type > <Java-Object:bbes.model.PointsType>) (points 13)) > > Thanks, > Helge > > > -------------------------------------------------------------------- > 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] > -------------------------------------------------------------------- > -------------------------------------------------------------------- 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] --------------------------------------------------------------------
