* @param event The event
* @return The village, or null if nothing matched
*/
public static Village villageByName(String villageName, Key eventKey)
{
PersistenceManager pm = PMF.get().getPersistenceManager();
Query query = pm.newQuery(Village.class);
query.declareImports("import com.google.appengine.api.datastore.Key");
query.setFilter("name == nameParam && eventKey == eventKeyParam");
query.declareParameters("String nameParam, Key eventKeyParam");
return querySingleDetachAndClose(Village.class, query, false, villageName, eventKey);