You'd use
Rete engine = ...
engine.defclass("SaleOrder", "SaleOrder", null, false);
Deftemplate dt = engine.findDeftemplate("SaleOrder");
On Mar 21, 2007, at 9:53 AM, Nara Hari wrote:
Hi,
What is the API for defining a deftemplate from a Java class.
e.g.
(deftemplate SaleOrder (declare (from-class SaleOrder)))
how do I define a deftemplate for the above template from Java?
Thx,
_H
--
View this message in context: http://www.nabble.com/Deftemplate----
Java-API-for-declare-from-Class-tf3440842.html#a9594384
Sent from the Jess mailing list archive at Nabble.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 owner-jess-
[EMAIL PROTECTED]
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research 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]
--------------------------------------------------------------------