aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "java and jess - slot values" Watch "java and jess - slot values" New topic
Author

java and jess - slot values

ksill pop
Greenhorn

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);
..
engine.store ("variable", f.getSlotValue("name"));
..
???

I will really appreciate any help.... does anybody has some solution!?
thanks...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java and jess - slot values