Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In [1] Benedikt Ritter mentioned the lag of BU1's property path for BU2.
The attached patch contains an implementation of a PropertyInterpreter - following the GOF Interpreter Pattern - which is able to interpret simple/index/mapped/nested properties and any combination of it. The result is a BeanAccessor. The idea is to use the PropertyInterpreter inside of a BeanAccessor implementation.
The patch also contains a corresponding test case.
Example:
on( anyBean ).set( "contact[15].address(home).street" ).with( "Example Street 1000" );
Attachments
Attachments
Issue Links
- is required by
-
SANDBOX-464 Add support for interpreting property expressions
- Open