I have a n object which has a method which returns java.util.Map . <br> Is it easy to implement a rule which calls the gettter method on this object for the map and get the value for a specified key and check condition on that value ? <br> Example <br> class MyObject { <br> private Map properties; <br> public Map getProperties(){ <br> return properties; <br> } <br> <br> public void setProperties(Map aMap){ <br> this.properties=aMap; <br> } <br> <br> <br> Now the rule I need is <br> <br> MyObject aObject= new MyObject(); <br> <br> return ( aObject.getPorperties().get("price").toString.equals("aproperty")) <br> <br> }<br> <br> Is this possible to write in a drl file and is this a good approach also is using eval in a drl file is not a good solution ie it has any
problems ?<br> Thanks <br> Miro<br> <br> <p> 
<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a>