Monday, June 6, 2011

EntityProxy for Inheritance - Is it possible at all?

My requirement is to have a tree structure to represent various Nodes
and Leafs. To implement this I have decided to implement Composite
Design pattern. My server side is OK but I am having trouble
representing my Proxies on the client side.

Here's how my class structure look like:

public abstract class MenuComponent implements Serializable

public class Menu extends MenuComponent

public class MenuItem extends MenuComponent

I tried to do this on the client side which did not work:

interface MenuComponentProxy extends EntityProxy

interface MenuProxy extends MenuComponentProxy

interface MenuItemProxy extends MenuComponentProxy

Could you please share with me if it's possible at all on the client
side to represent an Entity that extends some Super Entity.

Thanks

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate