Derived classes should inherit the @role of parent classes... which version of Drools are you using?
Edson On Thu, Jul 26, 2012 at 12:48 PM, Joerg Henne <hennejg+nab...@googlemail.com > wrote: > Hi all, > > we are processing events through a Fusion rule base. To be recognized as > such, model classes must be declared as @role(event). We are using a rather > extensive hierarchy of events, all derived from a single abstract class. > Unfortunately, it doesn't seem to be possible to declare just this base > class as an event and have the 'event' role for the others derived from > that. > Is there a way around having to declare each and every single event class > separately? > > Thanks > Joerg > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Apply-role-to-whole-class-hierarchy-tp4018930.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users > -- Edson Tirelli JBoss Drools Core Development JBoss by Red Hat @ www.jboss.com
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users