On 5 oct, 18:54, Y2i <yur...@gmail.com> wrote:
> An Entity class participates in one-to-many relationship:
>
> @OneToMany
> private Set<SomeClass> someClass = new HashSet<SomeClass>();
>
> How would I implement an EntityRecord?
>
> Property<XXX> someClass = new Property<XXX>("someClass",
> SomeClass.class);

Hmm, M2? FYI, properties are gone in M3.

> abstract XXX<SomeClassRecord> getSomeClass();
>
> What should go instead of XXX above?  I tried looking at what Roo does
> but it fails to generate correct records for one-to-many
> relationships.

Even M3 does not support lists and sets, but trunk does support both
java.util.List and java.util.Set; it'll be in the upcoming RC1.

-- 
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-tool...@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