On Apr 23, 2008, at 6:41 AM, Florian Fischer wrote:
Hello,
Is it possible to declare a shadow fact from a Java interface? Can
I do
(deftemplate <template-name> (declare (from-class <interface-
name>)))
Simply put: yes. To create the shadow facts themselves you'll need to
use "definstance" and specify the template name; you can't use the new
"add" function, which wants to use the name of the class itself as the
template name.
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------