hi..
assume i have the following domain classes;
region which has a set of
Country which has a set of
Location
while although each one has different set of properties, all implement a
common interface of
Node<T extends Serializable >{
Public T getId(); // Region has long id, while Country has String id
public String getName(); // they all have a name to present them
public Collection<? extends NodeModel<? extends Serializable> getChildren()
// must have wild card for different types of children.
}
now assume i wanted to have a RequestFactory method to get all the regions,
but get them as NodeModel not as regions, so i would have a client code
traverse through them like a tree...
problems is i understand i cannot use proxies for domains who have Generics
in their methods signatures becouse RequestFactory can't validate them .
--
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/-/WSpooySF7GgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.