You can't. I would make a JavaBean wrapper with a single field. That
field can be a String or take Enum values - later is better and faster,
Strings are more flexiible.
Mark
Mitch Christensen wrote:
Hey,
Quite often I want to work with 'temporary' facts that I often refer to as
'indicator' facts. With Jess I used to use ordered facts for this purpose.
In Drools, do I have to create a Java bean for every such case?
What if I wanted to do the following,
then
assert("MapExists");
end
How would I match this fact elsewhere?
-Mitch