cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szu-Yu Wang (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-4221) FIQL visitor to return a generic <K> instead of String
Date Tue, 10 Apr 2012 02:47:17 GMT

     [ 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

        

Mime
View raw message