Hi,
I am looking for ways to have additional data in JessML to represent
concepts such as decision tables.
Looking at the Jess schema, the 'properties' seem to be a good place to
add more data.
The properties of the rule seem to fit the bill. However, I did not see
any api of the Defrule class that would let me get the properties.
I also looked in Jess JSR 94. javax.rules.admin has a method to retrieve
by a property by name.
This sounds promising. But, after adding a few properties in the rules
(JessML), and a few line of Java using JSR 94,
Rule.getProperty("testProperty") returns null. I see the names of the
rules but there are no properties.
Is what I did a reasonable approach?
Are there other ways to add medata to JessML without having to alter the
schema?
Any help is appreciated.
Son