There is (see the GoF book or <a href="http://en.wikipedia.org/wiki/Decorator_pattern">Wikipedia</a>) a Design Pattern called &quot;Decorator&quot;. It might provide a viable solution to your needs.<br><br>-W<br><br><br><br>
<br><div class="gmail_quote">On 15 February 2011 09:41, delete <span dir="ltr">&lt;<a href="mailto:boyun.yuriy@gmail.com">boyun.yuriy@gmail.com</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;">
<br>
Thanks for help<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Type-Declaration-upgrade-tp2491975p2499364.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Type-Declaration-upgrade-tp2491975p2499364.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User 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>
</div></div></blockquote></div><br>