I'm not sure about dynamically adding fields to a type. I think there is a recent post discussing it.<div><br></div><div>Best Regards,<br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 8:38 AM, srinivasasanda <span dir="ltr"><<a href="mailto:srinivasasanda@gmail.com">srinivasasanda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Esteban,<br>
<br>
Its working fine.Can I enhance this code by adding one more field to<br>
*Man(name,age)*..<br>
<br>
It means i need to add field *state* to *Model* man from this Java code.How<br>
can i achieve this..can you please suggest me with the code.Really thanks<br>
for ur suggestions till far.Please help me in this.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Fact-Names-in-a-Model-tp3572234p3578857.html" target="_blank">http://drools.46999.n3.nabble.com/Fact-Names-in-a-Model-tp3572234p3578857.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">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>
</div></div></blockquote></div><br></div>