Hi,

I have bean trying out a simple test program to update a property of a bean using
its setter method. Now, I notice that the outcome is different if I define the bean
using its default access level.

These are the outputs after executing the bean program with the following statements:
   ...
   bn.setName("Jerry");
   r.reset();
   ...
   r.executeCommand("(facts)");

Output:
public bean class
-----------------
f-0   (initial-fact)
f-1   (mybean (class <External-Address:java.lang.Class>) (name "Jerry") (OBJECT
<External-Address:MyBean>))
For a total of 2 facts.

non-public bean class
----------------------
f-0   (mybean (class <External-Address:java.lang.Class>) (name <External-Address
:jess.SerializablePropertyDescriptor>) (OBJECT <External-Address:MyBean>))
For a total of 1 facts.

Can someone please explain  this behaviour? My impression is that perhaps the Jess
classes that manipulate the bean internally belongs to the Jess package and therefore
have some problems "seeing" the bean? Am I right?

Also, why can't I find the jess.SerializablePropertyDescriptor class in the API doc?

Thanks.

--
Best Regards,
Jerry

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