RE: JESS: Java 1.5 enums

2007-07-27 Thread Krasnigor, Scott L (N-AST)
] [mailto:[EMAIL PROTECTED] On Behalf Of Skeptic 2000 Sent: Thursday, July 26, 2007 11:18 PM To: jess-users@sandia.gov Subject: JESS: Java 1.5 enums Hi, As shown on JessWiki, I use the import functions to get my enum class in Jess : (import xx.yy.zz.MyEnum) then I try to match a slot

Re: JESS: Java 1.5 enums

2007-07-27 Thread Wolfgang Laun
11:18 PM To: jess-users@sandia.gov Subject: JESS: Java 1.5 enums Hi, As shown on JessWiki, I use the import functions to get my enum class in Jess : (import xx.yy.zz.MyEnum) then I try to match a slot of a shadow fact to one of the enum field : (defrule rule1 (MyShadowFact

JESS: Java 1.5 enums

2007-07-27 Thread Skeptic 2000
Hi, As shown on JessWiki, I use the import functions to get my enum class in Jess :(import xx.yy.zz.MyEnum) then I try to match a slot of a shadow fact to one of the enum field : (defrule rule1(MyShadowFact (OBJECT ?o) (property1 MyEnum.xyz)) = ...) What I'm doing wrong ?Thanks. JFL