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