On 8 May 2011 19:05, harishtejwani <harish@htejwani.com> wrote:
Thanks everyone for the replies.

Wolfgang, as a note - in JavaDocs the method getMetaData("attribute") is

Does anyone-know why?

The return type String is too narrow. The intent is to make this work like Java annotations.
Hopefully - getMetaData() would be here to stay!

Looks like it. Depending on usage, it might not only return a String but also a Map, but that's not your concern.


I think the suggestion to use ID meta-data attribute on rule is the best and
most stable!!

Thanks again


View this message in context: http://drools.46999.n3.nabble.com/Rule-Id-for-a-Drools-Rule-tp2914385p2915766.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
rules-users mailing list