public CFBamAccessSecurityBuff firstAccessSecurityCursor(CFBamCursor Cursor) {
   int targetRowIdx = 1;
   CFBamAccessSecurityBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextAccessSecurityCursor(Cursor);
   }
   return (buff);
 }
 public CFBamISOCurrencyBuff firstISOCurrencyCursor(CFBamCursor Cursor) {
   int targetRowIdx = 1;
   CFBamISOCurrencyBuff rec = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextISOCurrencyCursor(Cursor);
   }
   return (rec);
 }
 public CFBamDelSubDep3Buff firstDelSubDep3Cursor(CFBamCursor Cursor) {
   int targetRowIdx = 1;
   CFBamDelSubDep3Buff rec = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextDelSubDep3Cursor(Cursor);
   }
   return (rec);
 }
 public CFBamISOCountryCurrencyBuff firstISOCountryCurrencyCursor(CFBamCursor Cursor) {
   int targetRowIdx = 1;
   CFBamISOCountryCurrencyBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextISOCountryCurrencyCursor(Cursor);
   }
   return (buff);
 }
 public CFBamAccessSecurityBuff nthAccessSecurityCursor(CFBamCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFBamAccessSecurityBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextAccessSecurityCursor(Cursor);
   }
   return (buff);
 }
 public CFBamAccessSecurityBuff prevAccessSecurityCursor(CFBamCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFBamAccessSecurityBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextAccessSecurityCursor(Cursor);
   }
   return (buff);
 }
 public CFBamISOCurrencyBuff nthISOCurrencyCursor(CFBamCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFBamISOCurrencyBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextISOCurrencyCursor(Cursor);
   }
   return (rec);
 }
 public CFBamISOCurrencyBuff prevISOCurrencyCursor(CFBamCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFBamISOCurrencyBuff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextISOCurrencyCursor(Cursor);
   }
   return (rec);
 }
 public CFBamDelSubDep3Buff nthDelSubDep3Cursor(CFBamCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFBamDelSubDep3Buff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextDelSubDep3Cursor(Cursor);
   }
   return (rec);
 }
 public CFBamDelSubDep3Buff prevDelSubDep3Cursor(CFBamCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFBamDelSubDep3Buff rec = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     rec = nextDelSubDep3Cursor(Cursor);
   }
   return (rec);
 }
 public void closeAccessSecurityCursor(CFBamCursor Cursor) {
   try {
     Cursor.getResultSet().close();
   } catch (SQLException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newDbException(getClass(), "closeAccessSecurityCursor", e);
   }
 }
 public CFBamAccessSecurityBuff nextAccessSecurityCursor(CFBamCursor Cursor) {
   final String S_ProcName = "nextAccessSecurityCursor";
   try {
     ResultSet resultSet = Cursor.getResultSet();
     if (!resultSet.next()) {
       throw CFLib.getDefaultExceptionFactory()
           .newRuntimeException(getClass(), S_ProcName, "No more results available");
     }
     CFBamAccessSecurityBuff buff = unpackAccessSecurityResultSetToBuff(resultSet);
     return (buff);
   } catch (SQLException e) {
     throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e);
   }
 }
 public void reset() {
   super.reset();
   cursor = values.iterator();
 }