title: Store and query a list of string in gae datastore with Java
body: <p>I try to store in the gae datastore an array of string within an Entity. Something like that:</p>
  
  <pre><code>public class MyClass {
    private String id;
    private String name;
    (...)
    private List&lt;String&gt; tags;
    (...)
  }
  
  Entity entity = new Entity("MyClass", "myId");
  entity.setProperty("name", "My Name");
  List&lt;String&gt; tags = new ArrayList&lt;String&gt;();
  tags.add("gae");
  tags.add("datastore");
  entity.setProperty("tags", tags);
  </code></pre>
  
  <p>Is this approach the correct one and how to use the tags property in queries (for example, all elements that have the value gae in the tags list)?</p>
  
  <pre><code>Query query = new Query("MyClass");
  query.addFilter(fieldName, FilterOperator.EQUAL, "gae");
  Iterable&lt;Entity&gt; result = datastore.prepare(q).asIterable();
  for (Entity entity : result) {
    (...)
  }
  </code></pre>
  
  <p>Thanks for your help!
  Thierry</p>