/** @deprecated using deprecated api */
 protected void store() {
   Data data = new Data();
   data.i_map = db().collections().newHashMap(10);
   setDefaultValues(data.i_map);
   data.i_helper = helper(10);
   store(data);
 }
 private void restoreMembers(Data data) {
   Query q = newQuery(Data.class);
   ObjectSet objectSet = q.execute();
   Data rdata = (Data) objectSet.next();
   data.i_map = rdata.i_map;
   data.i_helper = rdata.i_helper;
 }