users@glassfish.java.net

Re: Metadata from the resultlist

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 May 2007 01:24:09 PDT

I want to provide user an overloaded search method with following signatures:

searchXXX(anytext) -- here we know that XXX is gonna be the return type so thats ok.
search(class, key, value) -- here the return type has to be of type class but i could not achieve to set it as such.
search(query) -- here the return type depends upon the query at runtime and i need metadata of the returning results.
[Message sent by forum member 'ketancmaheshwari' (ketancmaheshwari)]

http://forums.java.net/jive/thread.jspa?messageID=215961