[rules-users] Support for MVEL-Projections in Drools

Manjax23 manjunatha.n at coreobjects.com
Tue Aug 14 10:33:46 EDT 2007


Does Drools support MVEL-Projections? 
If yes, could someone please illustrate an example.

>Projections allow you to extract elements out of a complex object graph
into a single uniform collection.
> For example, if you have a list of User objects, and you want to get a
> list of the names of the users, assuming the User has a bean property for
> name:

    userNames = (name in users)


Thanks,
manjax23
-- 
View this message in context: http://www.nabble.com/Support-for-MVEL-Projections-in-Drools-tf4267685.html#a12145681
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list