[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2327) Possibility to map a result to a property bean

Julien Cheype (JIRA) jira-events at lists.jboss.org
Thu Nov 5 11:19:06 EST 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Cheype updated JBRULES-2327:
-----------------------------------

    Attachment: map_bean_property.patch


Add simple map result to bean property,
Alloaw you to map result property like that: name => test.name
DO NOT ALLOW you to map sub property in the bean like that: street => test.address.street

> Possibility to map a result to a property bean
> ----------------------------------------------
>
>                 Key: JBRULES-2327
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2327
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.0.1.FINAL, 5.1.0.M1
>            Reporter: Julien Cheype
>            Assignee: Mark Proctor
>         Attachments: map_bean_property.patch
>
>
> Be able to map a result to a property bean directly
> For exemple if I have a bean "Person" with a property String name it could be useful to map it in the result mapping like this:
>  
> <mapping type="out" from="name" to="test.name" />

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list