How about (not tested, might not work, I've had a few issues with generics 
and RequestFactory):

interface Foo<B extends Bar> { get/setSomeProperty(String); get/setBar(B); }
interface Bar { get/setSomeProperty(int); }

interface FooProxy extends Foo<BarProxy>, EntityProxy { }
interface BarProxy extends Bar, ValueProxy { }

class FooImpl implements Foo<BarImpl> { ... }
class BarImpl implements Bar { ... }

and have all your "helper methods" work with the Foo and Bar interfaces? 
(and factories if you have to create instances)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/kB_QoBg3dNwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to