this way, there's always directly
>> invoking Jess functions from Java. Here we invoke 'add' to add the object
>> to working memory directly:
>>
>> new Funcall("add", engine).arg(new
>> Value(unit)).execute(engine.getGlobalContext());
>>
>>
>
illen
Sent: 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 lh
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 mi
--
> *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 crea
er-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,
I am trying to assert to Jess that an object exists when I encoun
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 Java