public CFAccFeeDetailBuff firstFeeDetailCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFAccFeeDetailBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmContactListBuff firstContactListCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFCrmContactListBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextContactListCursor(Cursor);
   }
   return (buff);
 }
 public CFSecurityTSecGroupBuff firstTSecGroupCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFSecurityTSecGroupBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextTSecGroupCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmMemoDataBuff firstMemoDataCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFCrmMemoDataBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextMemoDataCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeBuff firstFeeCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFAccFeeBuff rec = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public CFSecurityISOTimezoneBuff firstISOTimezoneCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFSecurityISOTimezoneBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextISOTimezoneCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeDetailBuff nthFeeDetailCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFAccFeeDetailBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmContactListBuff nthContactListCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFCrmContactListBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextContactListCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmMemoDataBuff prevMemoDataCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFCrmMemoDataBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextMemoDataCursor(Cursor);
   }
   return (buff);
 }
 public CFSecurityISOTimezoneBuff nthISOTimezoneCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFSecurityISOTimezoneBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextISOTimezoneCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeBuff prevFeeCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFAccFeeBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public CFSecurityISOTimezoneBuff prevISOTimezoneCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFSecurityISOTimezoneBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextISOTimezoneCursor(Cursor);
   }
   return (buff);
 }
 public CFSecurityTSecGroupBuff nthTSecGroupCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFSecurityTSecGroupBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextTSecGroupCursor(Cursor);
   }
   return (buff);
 }
 public CFSecurityTSecGroupBuff prevTSecGroupCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFSecurityTSecGroupBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextTSecGroupCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmMemoDataBuff nthMemoDataCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFCrmMemoDataBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextMemoDataCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeDetailBuff prevFeeDetailCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFAccFeeDetailBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextFeeDetailCursor(Cursor);
   }
   return (buff);
 }
 public CFCrmContactListBuff prevContactListCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFCrmContactListBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextContactListCursor(Cursor);
   }
   return (buff);
 }
 public CFAccFeeBuff nthFeeCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFAccFeeBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextFeeCursor(Cursor);
   }
   return (rec);
 }
 public void closeMemoDataCursor(CFSecurityCursor Cursor) {
   try {
     Cursor.getResultSet().close();
   } catch (SQLException e) {
     throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeMemoDataCursor", e);
   }
 }
 public CFAccFeeDetailBuff nextFeeDetailCursor(CFSecurityCursor Cursor) {
   final String S_ProcName = "nextFeeDetailCursor";
   try {
     ResultSet resultSet = Cursor.getResultSet();
     if (!resultSet.next()) {
       throw CFLib.getDefaultExceptionFactory()
           .newRuntimeException(getClass(), S_ProcName, "No more results available");
     }
     CFAccFeeDetailBuff buff = unpackFeeDetailResultSetToBuff(resultSet);
     return (buff);
   } catch (SQLException e) {
     throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e);
   }
 }