There is, since 5.2.0, the option of extending a class declared in DRL:<br><br>declare A<br>   i : int <br>end<br><br>declare B extends A<br>  ...<br>end<br><br>Any class origninating from Java code cannot be extended  in DRL.<br>
<br>-W<br><br><br><div class="gmail_quote">On 28 May 2011 10:56, Tomas Olsson <span dir="ltr">&lt;<a href="mailto:tol@sics.se">tol@sics.se</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I have tried to look this up but cannot find any clear answer on the web.<br>
Does drools support extension of existing classes for new type declarations?<br>
That would be very nice if this would be possible.<br>
<br>
/Tomas<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>