private Key createTestData() {
Key minutesKey = MinutesService.put(" テスト用議事録1");
HashSet<String> keyWords = new HashSet<String>();
Key memoKey1 = MemoService.put(minutesKey, " 本日は晴天なり");
KeyWord keyWord1 = new KeyWord();
keyWord1.setKey(Datastore.createKey(memoKey1, KeyWord.class, "1"));
keyWords.add(" 本日");
keyWords.add(" 晴天");
keyWord1.setWords(keyWords);
Datastore.put(keyWord1);
Key memoKey2 = MemoService.put(minutesKey, " 本日は雨天なり");
keyWords.clear();
KeyWord keyWord2 = new KeyWord();
keyWord2.setKey(Datastore.createKey(memoKey2, KeyWord.class, "1"));
keyWords.add(" 本日");
keyWords.add(" 雨天");
keyWord2.setWords(keyWords);
Datastore.put(keyWord2);
Key memoKey3 = MemoService.put(minutesKey, " 明日も雨天なり");
keyWords.clear();
KeyWord keyWord3 = new KeyWord();
keyWord3.setKey(Datastore.createKey(memoKey3, KeyWord.class, "1"));
keyWords.add(" 明日");
keyWords.add(" 雨天");
keyWord3.setWords(keyWords);
Datastore.put(keyWord3);
return memoKey1;
}