Re: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-07 Thread Donald Paul Winston
Use shadow facts. see http://www.jessrules.com/jesswiki/view?FactsVsShadowFacts On Nov 4, 2011, at 1:08 PM, Hunter McMillen wrote: Hi everyone, I am trying to assert to Jess that an object exists when I encounter a new object in my Java program. Right now I am using a template to mirror

Re: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-07 Thread Hunter McMillen
, November 04, 2011 1:08 PM *To:* jess-users *Subject:* JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object? Hi everyone, I am trying to assert to Jess that an object exists when I encounter a new object in my Java program. Right now I am using

RE: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-07 Thread Friedman-Hill, Ernest
: Friday, November 04, 2011 7:50 PM To: jess-users Subject: Re: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object? Thanks for your quick reply. After I manage to get my Java object into Jess, can I assert it as a fact? Then have rules lhs match

Re: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-07 Thread Wolfgang Laun
()); -- *From:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On Behalf Of *Hunter McMillen *Sent:* Friday, November 04, 2011 1:08 PM *To:* jess-users *Subject:* JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object? Hi everyone

JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-04 Thread Hunter McMillen
Hi everyone, I am trying to assert to Jess that an object exists when I encounter a new object in my Java program. Right now I am using a template to mirror that object (i.e I have slot values for all of the Java objects fields) but this seems redundant to me. Is there any way to just bind a

RE: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object?

2011-11-04 Thread Friedman-Hill, Ernest
, November 04, 2011 1:08 PM To: jess-users Subject: JESS: Is it possible to bind a Java object directly to a Jess variable without creating a new object? Hi everyone, I am trying to assert to Jess that an object exists when I encounter a new object in my Java program. Right now I am using a template