[
https://issues.apache.org/jira/browse/CXF-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Szu-Yu Wang updated CXF-4221:
-----------------------------
Attachment: FiqlParser.java
I copied your FiqlParser code, used apache commons beanutils for the property
class resolution, and had ASTNode.build() return a criteria query.
It'll need some work to make it suitable, and I don't know about how you feel
about a dependency on beanutils, but if you can use any part of this, feel free.
> FIQL visitor to return a generic <K> instead of String
> ------------------------------------------------------
>
> Key: CXF-4221
> URL: https://issues.apache.org/jira/browse/CXF-4221
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Szu-Yu Wang
> Attachments: FiqlParser.java
>
>
> It would be great if SearchConditionVisitor<T, K> where K was the return type
> of the getResult() call. This way, I can CriteriaQuery<T> instead of String.
> Also, incidentally, the operation isn't "getResult", it's more like
> "getPredicate" or "getFilter"...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira