The thing is that after this code:

  (deftemplate Person (declare (from-class Person)))
  (bind ?f (assert (Person (name "Henrique") (age 38))))

There's no way to transfer those property values to a Person object; i.e., if 
you then said

(modify ?f (OBJECT (new Person)))

Then the Person's name and age would NOT be "Henrique" and "38"; they'd be 
something else. The only way to get a shadow fact and a Java object synced up 
automatically is to let Jess copy the properties to the fact from the object.






--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--------------------------------------------------------------------

Reply via email to