Using lists might solve your issue. If you assume item 0 is border1 and item
1 is border2, you could even create methods like getBorder1(return
list.get(0)) and getBorder2(list.get(1))



On Wed, Apr 20, 2011 at 10:32 AM, Muhammad Ijaz Khan <[email protected]>wrote:

> Hi,
> App engine doesnt allow yet, two fields of same class type as it says
> "Class Card has multiple relationship fields of type Red: border1 and
> border2.  This is not yet supported."
> But can we use fields of different inherited classes from one parent? eg.
> Card may have Red and Blue field types but both Red and Blue derived from
> class Color.
> Please update.
> regards
> Ijaz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> 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-appengine-java?hl=en.
>



-- 
Bruno Fuster

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
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-appengine-java?hl=en.

Reply via email to