<div><br></div>   Derived classes should inherit the @role of parent classes... which version of Drools are you using?<div><br></div><div>   Edson<br><br><div class="gmail_quote">On Thu, Jul 26, 2012 at 12:48 PM, Joerg Henne <span dir="ltr">&lt;<a href="mailto:hennejg+nabble@googlemail.com" target="_blank">hennejg+nabble@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
we are processing events through a Fusion rule base. To be recognized as<br>
such, model classes must be declared as @role(event). We are using a rather<br>
extensive hierarchy of events, all derived from a single abstract class.<br>
Unfortunately, it doesn&#39;t seem to be possible to declare just this base<br>
class as an event and have the &#39;event&#39; role for the others derived from<br>
that.<br>
Is there a way around having to declare each and every single event class<br>
separately?<br>
<br>
Thanks<br>
Joerg<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Apply-role-to-whole-class-hierarchy-tp4018930.html" target="_blank">http://drools.46999.n3.nabble.com/Apply-role-to-whole-class-hierarchy-tp4018930.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>