return datastore.prepare(q).asSingleEntity();
}
private Entity createContactInformationEntity(ContactInformationObject cio) {
Transaction txn = datastore.beginTransaction();
Key k = KeyFactory.createKey("Contact Information Set", "CONTACT_SET");
Entity e = new Entity("Contact Information", k);
e.setProperty("emailAddress", cio.getEmailAddress());
e.setProperty("phoneNumber", cio.getPhoneNumber());
e.setProperty("seatConfig", cio.getSeatConfig());
e.setProperty("notifyConfig", cio.getNotifyConfig());