As a followup on my previous post, perhaps I can define a
method in the Aobj class that passes back the value from
the inner Bobj class?  In other words, add to Aobj

public String getCCC() { return b.getCCC(); }

Therefore, my new rule2 would be:

(defrule rule2
    (aobj (ccc "XXX"))
    =>
    ...)

This seems to be a good workaround, but it would be rather
tedious to put get methods into Aobj for every attrribute in Bobj.

KathyLee Simunich

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to