[rules-users] Condition syntax to access Map

Vincent LEGENDRE vincent.legendre at eurodecision.com
Thu Jul 28 13:23:58 EDT 2011


Hi all, 

I agree with W. : NPE should be the default, and "null" cases behaviour should be planned by programmers. 
But I am not sure about using a new operator in rules (and do the update in Guvnor ...). 
Why not using some drools annotations on the getter specifying the behaviour of an eval on a null value returned by this getter ? 
And may be these annotation could be added to an existing POJO via the declared type syntax (just like event role in fusion) ? 

Vincent. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110728/07901b99/attachment.html 


More information about the rules-users mailing list