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

Davide Sottara dsotty at gmail.com
Mon Feb 27 12:56:13 EST 2012


Now this is an interesting use case.... could you please provide more details
on why you're trying to do such a thing? Are you working on some kind of
translator/analyzer?
Thanks
Davide

btw, taking constraints out of patterns does not seem the best way to use a
RETE engine....
could you consider something like:

when
$Class : MyClass()
            MyClass( this == $Class, className == "Class1" )
then
  ...

or its equivalent, based on unification:

when
$Class := MyClass( )
$Class := MyClass( className == "Class1" )
then
 ....



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-facts-using-POJO-accessor-methods-error-tp3780387p3781515.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list