File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes java and jess - slot values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "java and jess - slot values" Watch "java and jess - slot values" New topic

java and jess - slot values

ksill pop

Joined: Jan 09, 2011
Posts: 2
I have a problem..

is there someone who would be nice to help me, ill be really thankful..

jess program is like this:

(deftemplate person
(slot name(type SYMBOL))
(slot age(type INTEGER)))
(deftemplate persons
(person (name XX)(age 22))
(person (name YY)(age 44)))

a want to store slot values into some java object..
so, could that be possible on this way

Rete engine = new Rete();
Fact f = new Fact("person", engine);
.. ("variable", f.getSlotValue("name"));

I will really appreciate any help.... does anybody has some solution!?
I agree. Here's the link:
subject: java and jess - slot values
It's not a secret anymore!