[rules-users] Drools facts using POJO accessor methods error

aliosha79 alex_orl1079 at yahoo.it
Mon Feb 27 12:46:54 EST 2012


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-methods-error-tp3780387p3781490.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list