code: public void setVal(final String _value)
          throws EFapsException
      {
          Connection con = null;
          try {
              con = Context.getConnection();
              Context.getDbType().setSequence(con, getDBName(), Long.parseLong(_value));
              con.commit();
          } catch (final SQLException e) {
              throw new EFapsException(NumberGenerator.class, "setVal()", e);
          } finally {
              try {
                  if (con != null && !con.isClosed()) {
                      con.close();
                  }
              } catch (final SQLException e) {
                  throw new CacheReloadException("could not read child type ids", e);
              }
          }
      }
docs: Set the value for the numberGenerator. The next call of
  {@link #getNextVal()} or {@link #getNextVal()} normally will return the
  value + 1.
  
  @param _value value for the sequence
  @throws EFapsException on error