Super simple question that I have not been able to find any examples on in the documentation.
From: http://www.jboss.org/drools/drools-expert.html
It shows a code snippet of: Person(pets["rover"].type == "dog") to use as a map accessor.
I am trying to mimic this functionality but can't figure out what Drools is doing here. I assume 'type' is a property of a pet contained within a collection of pets. If someone could explain how this works or point me to where there is a more detailed explanation it would be appreciated.
Thanks
PMac
Hi All,
I have the same question.Can someone who knows about Map Accessor explain me what it means?
Thanks,
Kinjal