public int compare(ICFSecurityISOTimezoneObj lhs, ICFSecurityISOTimezoneObj rhs) {
   if (lhs == null) {
     if (rhs == null) {
       return (0);
     } else {
       return (-1);
     }
   } else if (rhs == null) {
     return (1);
   } else {
     String lhsValue = lhs.getObjQualifiedName();
     String rhsValue = rhs.getObjQualifiedName();
     if (lhsValue == null) {
       if (rhsValue == null) {
         return (0);
       } else {
         return (-1);
       }
     } else if (rhsValue == null) {
       return (1);
     } else {
       return (lhsValue.compareTo(rhsValue));
     }
   }
 }
 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");
   }
   ICFSecurityISOTimezoneObj selectedInstance = getSwingFocusAsISOTimezone();
   if (selectedInstance != null) {
     String classCode = selectedInstance.getClassCode();
     if ("ITZN".equals(classCode)) {
       JInternalFrame frame =
           swingSchema.getISOTimezoneFactory().newAskDeleteJInternalFrame(selectedInstance);
       ((ICFDbTestSwingISOTimezoneJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
       frame.addInternalFrameListener(getViewEditInternalFrameListener());
       getDesktopPane().add(frame);
       frame.setVisible(true);
       frame.show();
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(),
               S_ProcName,
               "selectedInstance",
               selectedInstance,
               "ICFDbTestISOTimezoneObj");
     }
   }
 }
 public Object getValueAt(int row, int column) {
   final String S_ProcName = "getValueAt";
   if ((row < 0) || (column < -1)) {
     return (null);
   }
   if (arrayOfISOTimezone == null) {
     return (null);
   }
   int len = arrayOfISOTimezone.length;
   if (row >= len) {
     return (null);
   }
   ICFSecurityISOTimezoneObj obj = arrayOfISOTimezone[row];
   if (obj == null) {
     return (null);
   }
   Object retval;
   switch (column) {
     case COLID_ROW_HEADER:
       retval = obj;
       break;
     case COLID_OBJQUALIFIEDNAME:
       retval = obj.getObjQualifiedName();
       break;
     case COLID_ISOTIMEZONEID:
       retval = new Short(obj.getRequiredISOTimezoneId());
       break;
     case COLID_ISO8601:
       retval = obj.getRequiredIso8601();
       if (retval == null) {
         retval = "";
       }
       break;
     case COLID_TZNAME:
       retval = obj.getRequiredTZName();
       if (retval == null) {
         retval = "";
       }
       break;
     case COLID_TZHOUROFFSET:
       retval = new Short(obj.getRequiredTZHourOffset());
       break;
     case COLID_TZMINOFFSET:
       retval = new Short(obj.getRequiredTZMinOffset());
       break;
     case COLID_DESCRIPTION:
       retval = obj.getRequiredDescription();
       if (retval == null) {
         retval = "";
       }
       break;
     case COLID_VISIBLE:
       retval = new Boolean(obj.getRequiredVisible());
       break;
     default:
       retval = null;
       break;
   }
   return (retval);
 }