I'm not sure about dynamically adding fields to a type. I think there is a recent post discussing it.
Thanks Esteban,
Its working fine.Can I enhance this code by adding one more field to
*Man(name,age)*..
It means i need to add field *state* to *Model* man from this Java code.How
can i achieve this..can you please suggest me with the code.Really thanks
for ur suggestions till far.Please help me in this.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Fact-Names-in-a-Model-tp3572234p3578857.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users