public void Initialize(BA ba, String EventName) {
this.eventName = EventName.toLowerCase(BA.cul);
this.ba = ba;
Datastore datastore = DatastoreOptions.getDefaultInstance().getService();
// The kind for the new entity
String kind = "Task";
// The name/ID for the new entity
String name = "sampletask1";
// The Cloud Datastore key for the new entity
Key taskKey = datastore.newKeyFactory().setKind(kind).newKey(name);
// Prepares the new entity
Entity task = Entity.newBuilder(taskKey)
.set("description", "Buy milk")
.build();
// Saves the entity
datastore.put(task);
ba.Log("Saved "+task.getKey().getName()+"/"+task.getString("description"));
//Retrieve entity
Entity retrieved = datastore.get(taskKey);
ba.Log("Retrieved "+taskKey.getName()+" / "+retrieved.getString("description"));
}