Reputation:
Is there StringListProperty just in Python or in Java too? I cant find it in the Java API.
Upvotes: 0
Views: 251
Reputation: 881635
Per the docs,
The type of a field can be any of the following...
...
a Collection (such as a java.util.List<...>) or an array of values of a core datastore type
so a List<String>
should just work.
Upvotes: 1
Reputation: 22418
You can create one by having
@Persistent
List<String> favoriteFoods;
Details can be found at http://code.google.com/appengine/docs/java/datastore/dataclasses.html
Upvotes: 2