...
Warning |
---|
As you can see at above examples we were using also regular Entity's methods like 'getBelongsToField' or 'getStringField' instead of 'get'. This is an implementation side effect - we convert entities to java.util.Maps before passing them as a variable to Expression Evaluator. Because relations between entities form a kind of bi-directional graph, we had to find efficient way to avoid infinite cycles during mapping. So yoy you have to remember that you can use .get('') (or brackets) only twice in a single expression and each further traversal will require use of appropriate Entity's API methods. |
...