[appengine-java] Two fields of sister classes in an entity!

2011-04-20 Thread Muhammad Ijaz Khan
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

Re: [appengine-java] Two fields of sister classes in an entity!

2011-04-20 Thread Bruno Fuster
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 aija...@gmail.comwrote: Hi, App engine doesnt allow