Precisely i want to turn this form...
when
$Class : MyClass (className() == "Class1")
then
System.out.println("ok!!!");
end
in this:
when
$Class : MyClass()
...($Class.className() == "Class1")
then
System.out.println("ok!!!");
end
I need to declare the $Class variable separately... is it possible?
regards
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-facts-using-POJO-accessor-method...
Sent from the Drools: User forum mailing list archive at
Nabble.com.