[jboss-jira] [JBoss JIRA] Updated: (JBRULES-315) map lookup access for fields

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu May 3 00:15:37 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-315?page=all ]

Mark Proctor updated JBRULES-315:
---------------------------------

    Fix Version/s:  4.0.0.MR3
                       (was: 4.0.0.MR2)

> map lookup access for fields
> ----------------------------
>
>                 Key: JBRULES-315
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-315
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Michael Neale
>         Assigned To: Edson Tirelli
>            Priority: Minor
>             Fix For:  4.0.0.MR3
>
>
> Would be nice to have a feature like:
> Map(foo == bar)  as being accessed as: map.get("foo")
> This can work as in the ClassFieldInspector it can tell that there is no "getFoo" method, but there is a get(xxx) method - hence it can pass in the key as the field name (as a string).
> A limitation may be that we want to use a prev bound variable as a key, but I can't see how that will work short of adding new syntax (this currently stays within the current grammar which is good - and looking up fields via a String key is more then useful !).

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

        



More information about the jboss-jira mailing list