public void setSwingDataCollection(Collection<ICFSecurityISOCountryObj> value) {
   final String S_ProcName = "setSwingDataCollection";
   swingDataCollection = value;
   if (swingDataCollection == null) {
     arrayOfISOCountry = new ICFSecurityISOCountryObj[0];
   } else {
     int len = value.size();
     arrayOfISOCountry = new ICFSecurityISOCountryObj[len];
     Iterator<ICFSecurityISOCountryObj> iter = swingDataCollection.iterator();
     int idx = 0;
     while (iter.hasNext() && (idx < len)) {
       arrayOfISOCountry[idx++] = iter.next();
     }
     if (idx < len) {
       throw CFLib.getDefaultExceptionFactory()
           .newRuntimeException(
               getClass(),
               S_ProcName,
               "Collection iterator did not fully populate the array copy");
     }
     if (iter.hasNext()) {
       throw CFLib.getDefaultExceptionFactory()
           .newRuntimeException(
               getClass(),
               S_ProcName,
               "Collection iterator had left over items when done populating array copy");
     }
     Arrays.sort(arrayOfISOCountry, compareISOCountryByQualName);
   }
   PickerTableModel tblDataModel = getDataModel();
   if (tblDataModel != null) {
     tblDataModel.fireTableDataChanged();
   }
 }
 public void actionPerformed(ActionEvent e) {
   ICFDbTestTableObj selectedInstance = getSwingFocusAsTable();
   if (selectedInstance != null) {
     List<ICFDbTestValueObj> retList = selectedInstance.testInstListFuncNoArgs();
     StringBuffer buff = new StringBuffer();
     if (retList != null) {
       buff.append("testInstListFuncNoArgs() returned list:\n");
       Iterator<ICFDbTestValueObj> iter = retList.iterator();
       ICFDbTestValueObj cur;
       while (iter.hasNext()) {
         cur = iter.next();
         buff.append(cur.getClass().getName() + " named " + cur.getObjName() + "\n");
       }
     } else {
       buff.append("testInstListFuncNoArgs() returned null\n");
     }
     JOptionPane.showMessageDialog(null, buff.toString());
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   if (schemaObj == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj");
   }
   List<ICFDbTestValueObj> retList = schemaObj.getTableTableObj().testClassListFuncNoArgs();
   StringBuffer buff = new StringBuffer();
   if (retList != null) {
     buff.append("testClassListFuncNoArgs() returned list:\n");
     Iterator<ICFDbTestValueObj> iter = retList.iterator();
     ICFDbTestValueObj cur;
     while (iter.hasNext()) {
       cur = iter.next();
       buff.append(cur.getClass().getName() + " named " + cur.getObjName() + "\n");
     }
   } else {
     buff.append("testClassListFuncNoArgs() returned null\n");
   }
   JOptionPane.showMessageDialog(null, buff.toString());
 }