Subsection 5.7.7 discusses &#39;extends&#39; and describes how it is done for types declared in Java.<br><br>One finesse is apparently not documented: Java types must be proper JavaBeans; otherwise the construction of the accessors will fail. (Try, for instance, a property with a getter but no matching setter.) <br>
<br>HTH<br>-W<br><br><br><div class="gmail_quote">On 10 July 2011 22:29, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@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;">
What&#39;s the rules around declared types extending another (declared) type?<br><br>I&#39;ve been asked to provide for declared type extension in Guvnor (by Prakash) but the Expert user-guide doesn&#39;t say it exists at the engine level.<br>

<br>I tried &quot;declare MyType extends java.util.ArrayList&quot; and received a parser\compiler error stating &quot;java.util.ArrayList was not a declared type&quot; (or words to that effect) so some form of extension appears possible.<br>

<br>Thanks,<br><br>Mike<br>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>