@SuppressWarnings("unchecked")
 public void addObject(List list, RecordSet rs) {
   PtmenuBean abb = new PtmenuBean();
   abb.menuid = rs.getString("menuid");
   abb.setKeyValue("MENUID", "" + abb.getMenuid());
   abb.parentmenuid = rs.getString("parentmenuid");
   abb.setKeyValue("PARENTMENUID", "" + abb.getParentmenuid());
   abb.menulevel = rs.getString("menulevel");
   abb.setKeyValue("MENULEVEL", "" + abb.getMenulevel());
   abb.isleaf = rs.getString("isleaf");
   abb.setKeyValue("ISLEAF", "" + abb.getIsleaf());
   abb.menudesc = rs.getString("menudesc");
   abb.setKeyValue("MENUDESC", "" + abb.getMenudesc());
   abb.menulabel = rs.getString("menulabel");
   abb.setKeyValue("MENULABEL", "" + abb.getMenulabel());
   abb.menuicon = rs.getString("menuicon");
   abb.setKeyValue("MENUICON", "" + abb.getMenuicon());
   abb.openicon = rs.getString("openicon");
   abb.setKeyValue("OPENICON", "" + abb.getOpenicon());
   abb.targetmachine = rs.getString("targetmachine");
   abb.setKeyValue("TARGETMACHINE", "" + abb.getTargetmachine());
   abb.menuaction = rs.getString("menuaction");
   abb.setKeyValue("MENUACTION", "" + abb.getMenuaction());
   abb.openwindow = rs.getString("openwindow");
   abb.setKeyValue("OPENWINDOW", "" + abb.getOpenwindow());
   abb.windowwidth = rs.getString("windowwidth");
   abb.setKeyValue("WINDOWWIDTH", "" + abb.getWindowwidth());
   abb.windowheight = rs.getString("windowheight");
   abb.setKeyValue("WINDOWHEIGHT", "" + abb.getWindowheight());
   abb.levelidx = rs.getString("levelidx");
   abb.setKeyValue("LEVELIDX", "" + abb.getLevelidx());
   abb.fillstr50 = rs.getString("fillstr50");
   abb.setKeyValue("FILLSTR50", "" + abb.getFillstr50());
   abb.fillstr100 = rs.getString("fillstr100");
   abb.setKeyValue("FILLSTR100", "" + abb.getFillstr100());
   abb.fillint1 = rs.getString("fillint1");
   abb.setKeyValue("FILLINT1", "" + abb.getFillint1());
   abb.filldbl2 = rs.getString("filldbl2");
   abb.setKeyValue("FILLDBL2", "" + abb.getFilldbl2());
   abb.filldate = rs.getString("filldate");
   abb.setKeyValue("FILLDATE", "" + abb.getFilldate());
   list.add(abb);
   abb.operate_mode = "edit";
 }