Got that, thanks a lot. Henrique
On Thu, May 16, 2013 at 3:24 PM, Friedman-Hill, Ernest <ejfr...@sandia.gov>wrote: > 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. > -------------------------------------------------------------------- > > -- ----- - - - - - - - - - - - - Henrique Lopes Cardoso DEI/FEUP Rua Dr. Roberto Frias | 4200-465 Porto PORTUGAL VoIP: (+351) 220413355 Phone: (+351) 225081400 ext.1315...@fe.up.pt | www.fe.up.pt/~hlc ----- - - - - - - - - - - - -